2

That feeling when you're optimizing your code and comment a small function to compare results, then few hours later you push to production and forget everything about that function.

It aint pretty, nope I can't run away from this one!

Comments
  • 0
    @Xunie While I agree that static type checking is safer and better, it wouldn't have helped in this case. Presumably he commented out the line that called the function, resulting in a program that happily compiles.

    EDIT: unit tests would have helped though. Write unit tests!
  • 0
    @Grundeir @Xunie I commented out both @,@

    Thanks for the insight, we don't really do such testings during QA.

    I think it's time to apply unit testing on personal level before exporting to production.
Add Comment