DEV Community

Discussion on: Why Are Coding Standards Important?

Collapse
 
matthew_collison profile image
Matthew Collison

Code standards that follow the community agreed guidelines (e.g. PSR in PHP or Google's JS style guide) are the sign of an excellent programmer.

People have any number of objections like the fact they have their own style, or they have a personal preference, but it's very short sighted because chances are your code will be picked up by someone else in the future. And when it is, if it is consistent with community guidelines, you save a million headaches for that other developer.

So spend the 2 weeks it takes to research community standards and adopt them - your peers will appreciate it. Unless your code will never see the light of day outside your own eyes!