How do you handle ugly code? Are you a code neat freak?
- Do you feel that you have to clean up a file of source code before you can do anything useful?
- Do you have the urge to refactor bad structure when you see it?
I admit that I'm often tempted to clean up other people's code when I have to modify the code anyway. Bad code is a pet peeve of mine.
How about you?
EDIT: I've read the discussion about subjectivity in the comments, and that subjectivity should be avoided in SO because the goal is to have neutral questions about technicalities. I've already answered questions here about Landau-O notation, C++ declaration and definitions, network addresses and such. But I feel like I'm being forced to move everything that might be subjective off SO. I would like those who think SO must be cleansed from all subjectivity to think a bit about why a community succeeds. To my mind, it's a mixture of hard facts and softer topics. If you read the current SO topics you will find quite some subjective topics (like best books wanted etc.). People like the format for poll-like questions, too. Why not support them? Those who want a completely objective SO could get a switch that filters subjective-tagged topics out in the first place.