I wanted to better cement what we learned today by re-doing the day’s coding in a new branch. With a bit of help re: how to not have to nuke my existing database for the evening’s fun, I got it all up and running, and started coding.
The methodology we’re using is called “error driven development.” You start by adding code to the page that users see, pretending that the stuff it’s supposed to do on the back-end has already been written. Load the page, see the error message, then go code exactly (and only) what’s needed on the back end to make *that one error* go away.
When I got the error shown above, this *actually* went through my head:
“Woo hoo! I know how to fix that!”
Is it sad that I’m getting excited over error messages?