Development mode
is what first got me
excited about Rails.
Slide 20
Slide 20 text
Reload-driven
development ™
Slide 21
Slide 21 text
What’s wrong with
this methodology?
Slide 22
Slide 22 text
cowboy programming
testless programming
inside-out programming
it encourages:
Slide 23
Slide 23 text
Cowboy
programming
Slide 24
Slide 24 text
programming before
thinking
pressing reload until it
looks like it’s working
writing the code you want
to write
Slide 25
Slide 25 text
Testless
programming
Slide 26
Slide 26 text
why write tests when you can
press reload?
Slide 27
Slide 27 text
PRESSING
RELOAD
DOESN’T
SCALE
Slide 28
Slide 28 text
why write tests when you can
press reload?
the app works! now write tests
so you don’t feel guilty
the app broke! now write tests
so it doesn’t break again
Slide 29
Slide 29 text
THE
DEFINITION
OF
WORKING
IS THAT THE
TESTS
PASS
Slide 30
Slide 30 text
Inside-out
programming
Slide 31
Slide 31 text
write a migration
write a model
write a controller
write a template
write a route
press reload