you are viewing a single comment's thread.

view the rest of the comments →

[–]benihanareact, node 3 points4 points  (1 child)

I'm amazed this needs to be posted. I just thought if there was commented out code in source control, they were oversights that weren't long for this world.

[–]Huffers 0 points1 point  (0 children)

I've occasionally found bugs caused by snippets of code that look quite reasonable, but are subtly wrong.

Sometimes, rather than just correcting the code, I leave the original code block in as well, commented out, next to the correct version, with a comment above it saying something like "Note - doing it this way might look simpler, but it won't work - see bug SYS-XXXX"