This is actually what I really like about wiring up tests first — it forces you to ask all the questions about expected behaviour up front, rather than later. I love writing unit tests for any classes I’m writing, because it forces me to run my code ASAP, and strongly discourages me from fudging the bits which everyone else seems to care less about. (Edge cases are buggers to debug.)

--

--

--

Lead tech at OCSI, making data friendly for social good. Likes words. Doesn't really own a bowler hat.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Graham

Graham

Lead tech at OCSI, making data friendly for social good. Likes words. Doesn't really own a bowler hat.

More from Medium

Harnessing Procrastination can be liberating

Perspective. It’s Real | #MyFridayStory №235

SpaceLeague

It’s not the same as it was