News for hackers. Stuff that matters.
Re:Making Wrong Code Look Wrong by endlessvoid94 on Monday August 22, 2011 @12:52PM (#2913083)
> 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?

Re:Making Wrong Code Look Wrong by yesbabyyes on Monday August 22, 2011 @03:01PM (#2913635)
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.

I don't think so. I wouldn't have any problems working with GNU Style or Apps Hungarian if it was an interesting project.

Re:Making Wrong Code Look Wrong by tedunangst on Monday August 22, 2011 @11:08PM (#2915170)
I 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.
Re:Making Wrong Code Look Wrong by endlessvoid94 on Tuesday August 23, 2011 @01:29PM (#2917440)
Yep, me too.