5 ms·
> If so, do you think coding conventions help more than they hinder? In other words, do they increase code safety without imposing too much of a burden on reada
by endlessvoid94 15y ago
> If so, do you think coding conventions help more than they hinder? In other words, do they increase code safety without imposing too much of a burden on readability?
I think there's a relationship between the number of people working on a codebase and how effective/burdensome coding conventions are. The more people on a project, the more friction there will be (at first) getting everyone to adhere to conventions. And this assumes there are code reviews in place.
I think this curve happens starting much lower than you'd think, too. Good hackers will be picky about conventions as soon as a codebase reaches ~4 hackers.
Thoughts?
- yesbabyyes 15y agoI think this curve happens starting much lower than you'd think, too. Good hackers will be picky about conventions as soon as a codebase reaches ~4 hackers. I don't think so. I wouldn't have any problems working with GNU Style or Apps Hungarian if it was an interesting project.
- tedunangst 15y agoI would much rather work on a project with just about any convention, no matter how disagreeable, than a project with four different pet conventions that varies from file to file.
- endlessvoid94 15y agoYep, me too.