FarrisFahad
29

How to Deal With OCD as a Programmer

I personally believe that we all suffer from OCD in some way or another. Some people have it hard while others are controlling it very good. So I have come up with a couple of things to keep in mind when dealing with OCD as a web developer and programmer.

Embrace the Fact that Nothing Is Perfect

Yes, nothing is perfect and you need to accept that. Working hard to make the code readable and organized is good but sometimes it gets off hand and you need to accept that nothing is perfect in this world even your code.

Don't Redo Everything From Scratch

Sometimes the code you are working with does not meet your standard but it gets the job done. If this is the case then you should leave it as is and build on it. Starting from scratch because the code is not written like you like is a waste of time.

Focus on Results Rather than Perfection

You need to focus on delivering rather than trying to make everything perfect. Most people won't see your code and will only interact with the front end. So keeping it moving while coding and letting some code the way it is is not a bad thing.

Try to Write Write Messy Code from Time to Time

To overcome your OCD if you have it really bad then you should write messy code from time to time just to prove to yourself that writing a code that works is more important than writing a code that is perfect.

Conclusion

OCD is normal as long a it does not hinder your progress. Focus more on results rather than perfection. And if you find yourself rewriting code that works then you should start writing messy code until you prove to yourself that results are better than perfection.

FarrisFahad
FarrisFahad
A professional Web Developer from Saudi Arabia

Any Comments?

There are no records