In a team atmosphere, the personal nature of coding style is a challenge.
The following example might explain the importance of coding style:
“The situation of a group of musicians trying to form a band. Each one comes in believing that their way of doing things is best (their “method” or “process”). The band will struggle so long as everyone is trying to do their own thing. It’s impossible to create good music unless everyone in the band agrees on the tempo, the style and who should take lead during a song. Anyone who has ever heard a high school band perform knows this to be true. Unless everyone is on the same page, you aren’t going to accomplish much.“Thus, we should start following a style guide. Following are the few style guides that I have in my list and I try to follow them.