Evil Geniuses
Evil Geniuses
Meredith Edwards and Emmanuel Genard - Software Developers from Stride Cons
11. A First Example - Part 1
20 minutes Posted Oct 3, 2018 at 7:00 am.
0:00
20:25
Download MP3
Show notes

On today’s show, we embark on a new, evil adventure, one on which we hope you will join us! We’ll be looking at another refactoring problem and this will make up the first part of a short series of episodes dealing with this issue. Emmanuel lays out the topic, which takes the shape of a code used to run the rental of videos in an old style video store.

During this week’s discussion, we deal with the first areas of the topic, looking at what Emmanuel’s work takes directly from Martin Fowler’s Refactoring and where his actions diverge. We discuss the conditions and objects that deal with the duration of a rental and how these differ across genres of movies. We also unpack test names and start on the topic of his commits. Be sure to tune in for this especially evil episode!

 

Key Points From This Episode:

  • Setting out today’s refactoring problem.
  • The lessons Emmanuel took directly from Martin Fowler’s book.
  • Conditions around the code of renting a movie for a certain amount of days.
  • Understanding Emmanuel’s test names for rentals.
  • A summary of the objects and what they are responsible for.
  • The problem-dump commit and how Emmanuel worked this out.
  • And much more!

Talking Points

  • Present the problem
  • You have to add tests. Assume that the application works as is; change no current behavior
  • A teaser episode

Commits

Links Mentioned in Today’s Episode:

Evil Geniuses on Twitter

Stride

Martin Fowler

Refactoring

Ruby

Java

Blockbuster

Hollywood Video

Cars

RSpec

MiniTest

Flickr

AJAX

Facebook

Myspace

AOL

WhatsApp

Messenger

BitTorrent