DEV Community

Discussion on: How do you ensure your Team's code is consistent?

Collapse
 
cgcnu profile image
sreenivas

You covered some real good points here. I find it really hard to get a consciousness on these things. When a team of 7 uses 7 different editors and are not comfortable with following a single formatter its always a battle.

Collapse
 
190245 profile image
Dave

I'd suggest there that the team leadership (Lead/Architect/Manager etc) needs to adopt a "god complex" approach.

"I have spoken, therefore you will do."

When the team all pull in the same direction, consistency is easy (our discussion about code consistency lasted a grand total of 15mins). When each individual likes to impart their own personality on the code base, you'll never achieve consistency, unfortunately.

Thread Thread
 
parkadzedev profile image
Michael Parkadze

Thanks for commenting, I've found your answer very informative ;)