3 Comments
User's avatar
Jurica Kenda's avatar

Added early, thanked myself later: an insane test suite and documentation for some hacks we needed to perform.

Few months later, hacking on top of hacking is required. I’m glad we’ve had these tests and ridiculous amount of documentation around the hacks.

Expand full comment
Alex Cristea's avatar

Tests that document obscure hacks are always appropriated by your future self.

Especially when you inherit the hacks from a previous team and there is not a single line of documentation of what the code does. 🙃

Expand full comment
Jurica Kenda's avatar

Totally!

At the time, I was actually writing it for "the next person", which ended up being myself again haha

Expand full comment