Posts

Showing posts from December, 2018

Test and Commit or Revert

This post inspired by this podcast: https://www.hanselminutes.com/663/test-commit-revert-with-kent-beck The amount of times I've wasted hours... days... even weeks chasing the rabbit down the hole, only to find a dead end and back, back, back up to a previous point (in which I probably didn't commit). Too many to count. TCR sounds scary at first. If your test don't succeed, you revert to your previous save point. It reminds me of the days of Contra or Mario. But the other solution is a lot more like a Roguelike. Go go go, and hopefully you got it right... because it's going to be a log way back, cleaning up you divergence. There's a reason the speedometer is updated continuously. Imagine only knowing the speed once a minute. It's dangerous. So is coding waterfalls. The 1980s wants their methodology back. We can do better. We should do better. Let's.