Artwork

Το περιεχόμενο παρέχεται από το Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons. Όλο το περιεχόμενο podcast, συμπεριλαμβανομένων των επεισοδίων, των γραφικών και των περιγραφών podcast, μεταφορτώνεται και παρέχεται απευθείας από τον Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons ή τον συνεργάτη της πλατφόρμας podcast. Εάν πιστεύετε ότι κάποιος χρησιμοποιεί το έργο σας που προστατεύεται από πνευματικά δικαιώματα χωρίς την άδειά σας, μπορείτε να ακολουθήσετε τη διαδικασία που περιγράφεται εδώ https://el.player.fm/legal.
Player FM - Εφαρμογή podcast
Πηγαίνετε εκτός σύνδεσης με την εφαρμογή Player FM !

12. A First Example - Part 2

27:15
 
Μοίρασέ το
 

Manage episode 219131174 series 2323264
Το περιεχόμενο παρέχεται από το Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons. Όλο το περιεχόμενο podcast, συμπεριλαμβανομένων των επεισοδίων, των γραφικών και των περιγραφών podcast, μεταφορτώνεται και παρέχεται απευθείας από τον Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons ή τον συνεργάτη της πλατφόρμας podcast. Εάν πιστεύετε ότι κάποιος χρησιμοποιεί το έργο σας που προστατεύεται από πνευματικά δικαιώματα χωρίς την άδειά σας, μπορείτε να ακολουθήσετε τη διαδικασία που περιγράφεται εδώ https://el.player.fm/legal.

Welcome to another episode of Evil Geniuses. Last time we teased you but we’re back and this time we’re actually going to deliver the goods, no more click bait. We are working with a video checkout store type software where our classes are a movie, a rental, and a customer.

We’ve given you insight into what our test look like and today we want to talk about the code that does tester testing. The theme of this discussion is you have to do two things. One, you have to introduce duplication in order to identify the right obstruction because you can’t always trust the obstruction that is present and then two, stop being obsessed with primitives. No more primitives. Keep listening, there’s, even more, coming up in the next episode!

Key Points From This Episode:

  • The quality of your code and when it matters.
  • Understanding a primitive obsession.
  • Introducing temporary duplication to find sameness.
  • Extra charge for rental versus base cost of rental.
  • Returning the same type of object regardless of the output of your method.
  • Eliminating the case statement.
  • And much more!

Talking Points

  • Work hard to be lazy
  • Duplication leads to the removal of duplication

Commits

Links Mentioned in Today’s Episode:

Evil Geniuses on Twitter

Stride

Ruby

Sandi Metz

Primitive Obsession

Basic Instinct

Sharon Stone

  continue reading

16 επεισόδια

Artwork
iconΜοίρασέ το
 
Manage episode 219131174 series 2323264
Το περιεχόμενο παρέχεται από το Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons. Όλο το περιεχόμενο podcast, συμπεριλαμβανομένων των επεισοδίων, των γραφικών και των περιγραφών podcast, μεταφορτώνεται και παρέχεται απευθείας από τον Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons ή τον συνεργάτη της πλατφόρμας podcast. Εάν πιστεύετε ότι κάποιος χρησιμοποιεί το έργο σας που προστατεύεται από πνευματικά δικαιώματα χωρίς την άδειά σας, μπορείτε να ακολουθήσετε τη διαδικασία που περιγράφεται εδώ https://el.player.fm/legal.

Welcome to another episode of Evil Geniuses. Last time we teased you but we’re back and this time we’re actually going to deliver the goods, no more click bait. We are working with a video checkout store type software where our classes are a movie, a rental, and a customer.

We’ve given you insight into what our test look like and today we want to talk about the code that does tester testing. The theme of this discussion is you have to do two things. One, you have to introduce duplication in order to identify the right obstruction because you can’t always trust the obstruction that is present and then two, stop being obsessed with primitives. No more primitives. Keep listening, there’s, even more, coming up in the next episode!

Key Points From This Episode:

  • The quality of your code and when it matters.
  • Understanding a primitive obsession.
  • Introducing temporary duplication to find sameness.
  • Extra charge for rental versus base cost of rental.
  • Returning the same type of object regardless of the output of your method.
  • Eliminating the case statement.
  • And much more!

Talking Points

  • Work hard to be lazy
  • Duplication leads to the removal of duplication

Commits

Links Mentioned in Today’s Episode:

Evil Geniuses on Twitter

Stride

Ruby

Sandi Metz

Primitive Obsession

Basic Instinct

Sharon Stone

  continue reading

16 επεισόδια

همه قسمت ها

×
 
Loading …

Καλώς ήλθατε στο Player FM!

Το FM Player σαρώνει τον ιστό για podcasts υψηλής ποιότητας για να απολαύσετε αυτή τη στιγμή. Είναι η καλύτερη εφαρμογή podcast και λειτουργεί σε Android, iPhone και στον ιστό. Εγγραφή για συγχρονισμό συνδρομών σε όλες τις συσκευές.

 

Οδηγός γρήγορης αναφοράς