Reply to post: Re: Worst code I ever saw...

Programming error created billion-dollar mistake that made the coder ... a hero?

Zippy´s Sausage Factory
Pint

Re: Worst code I ever saw...

There's a very dangerous trait to consider comments a "code smell" and to remove them because "good code should be self-commenting".

I don't hold with that. Good code has good comments, and the comments act as signposts. They're your guides, especially in those fraught times when Something Has Gone Horribly Wrong and you're rooting desperately in code while They Who Must Be Obeyed are standing behind you, tutting, and calculating how much this is costing the company every second it's not working.

Icon because I think we all need it after the PTSD trigger I've just dropped.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon