I think I have Programmer’s OCD!
Usually, when I’m programming something, I write very neat and I’m very OCD-like about the way my source code is presented.
For example, I write IF statements like this:
I think its good to make clean source code and to create DocBlocks to ensure that if you come back to your code in 5 years, you know exactly what it does and what purpose each Class and Method served.
Do you have programmer’s OCD? How do you ensure that your code is understandable by others and understandable in the future? I’d love to hear from you in the comments below!