Graphinder – I don’t need this covered…


Probably most of you recall those small, precious moments, when it’s quarter to 1AM, you’re drinking your 4th coffee in a row and try to doodle a little longer, a little deeper in fancy, little piece of code you once wrote, meant to forgive and forget but keep thinking that there are things you could’ve done better. That’s especially so true for not so (always) serious, side-project code, where we can reveal a little chaotic self and just skip few things/concepts/. One could tell then, I don’t need this covered…

…no man should say ever, if that’s for unit testing.

I’ve attempted to refactor a little my Graph class to add some extra hermetization to its components. But everything else exploded. With no error. If only I had unit tests for that part of a code. I’ve let my guard down for a blink of an eye and now…
Whole evening wasted for troubleshooting my own refactoring.

Hulk Smash

Leave a Reply

Your email address will not be published. Required fields are marked *