Overclock.net banner

1 - 4 of 4 Posts

·
Premium Member
Joined
·
8,040 Posts
Discussion Starter · #1 ·
That moment when you test new code and find it breaks more stuff than bugs it was meant to fix (and those bugs aren't even fixed either).

Triple-facepalm.jpg
 

·
Fantastic Mr Fox
Joined
·
5,862 Posts
Our tester runs into this every now and then. The developers do pushups as punishment
tongue.gif
I've done my fair share of screwups. I've implemented quick hacky workarounds for an issue which I fixed up properly months later, but I forgot about the workaround and it ended up inverting the original problem. It's times like these when you wish there were unit tests, or even unit testable code.
 

·
Registered
Joined
·
2,312 Posts
Reminds me of a funny thing i heard.
Quote:
If your refactoring code without unit tests, your not refactoring, your just changing *stuff*.
Its hard to find a group that writes unit tests properly, but when :thumb:i see them, it blows my mind on how effective it is. Sure intern bob, feel free to fix anything you find.

Honestly... what worries me most is when i spend a day writing code and i hit compile and it compiles on the first try... something must be wrong.
 
1 - 4 of 4 Posts
Top