Artwork

Content provided by Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

13. A First Example - Part 3

28:57
 
Share
 

Manage episode 220074254 series 2323264
Content provided by Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

On this episode of the Evil Geniuses Podcast, we continue our series on a first example of the video checkout system. To start off we recap some of the points from the first two parts and then move into the final stretch! We talk about the two main patterns that are present in this code, namely base charge for rental and extra charge for rental before getting into renaming decoupling and calculating a final cost. We add in some reminders about primitive obsession and take some handy lessons from the idea of a library and borrowing books, so stay tuned for that! For all this, and much more be sure to listen in as we go deep!

Key Points From This Episode:

  • Recapping the patterns from the first two parts of this series.
  • Base charge for rental and extra charge for rental as the two patterns.
  • Renaming a commit and why it is more accurate now.
  • The meaning of the number two in this context.
  • Making it obvious that new movies have a base rental period.
  • Looking to the library for an analogy on extra charges and new movies.
  • Finally calculating the whole charge for the rental.
  • Figuring out the title of the movie by removing a coupling.
  • Writing exemplary code for others to follow.
  • An HTML challenge to the listeners!
  • And much more!

Commits

Links Mentioned in Today’s Episode:

Evil Geniuses on Twitter

Stride

GangofFour

Ruby

JavaScript

Sandi Metz

Primitive Obsession

Refactoring

  continue reading

16 episodes

Artwork
iconShare
 
Manage episode 220074254 series 2323264
Content provided by Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Stride NYC, Meredith Edwards, and Emmanuel Genard - Software Developers from Stride Cons or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

On this episode of the Evil Geniuses Podcast, we continue our series on a first example of the video checkout system. To start off we recap some of the points from the first two parts and then move into the final stretch! We talk about the two main patterns that are present in this code, namely base charge for rental and extra charge for rental before getting into renaming decoupling and calculating a final cost. We add in some reminders about primitive obsession and take some handy lessons from the idea of a library and borrowing books, so stay tuned for that! For all this, and much more be sure to listen in as we go deep!

Key Points From This Episode:

  • Recapping the patterns from the first two parts of this series.
  • Base charge for rental and extra charge for rental as the two patterns.
  • Renaming a commit and why it is more accurate now.
  • The meaning of the number two in this context.
  • Making it obvious that new movies have a base rental period.
  • Looking to the library for an analogy on extra charges and new movies.
  • Finally calculating the whole charge for the rental.
  • Figuring out the title of the movie by removing a coupling.
  • Writing exemplary code for others to follow.
  • An HTML challenge to the listeners!
  • And much more!

Commits

Links Mentioned in Today’s Episode:

Evil Geniuses on Twitter

Stride

GangofFour

Ruby

JavaScript

Sandi Metz

Primitive Obsession

Refactoring

  continue reading

16 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide