News for hackers. Stuff that matters.
Re:Brendan Eich: The infernal semicolon by regularfry on Monday April 16, 2012 @08:00AM (#3846975)
> What are the universally accepted style rules for C/C++?

Whenever I've been asked this, I've pointed people at the JSF-AV coding standards or MISRA.

> What really surprises me is that such a large number of people are quick to attack someone for writing legal code simply because they disagree with the style used.

The important part of the lifecycle of a piece of code isn't the writing of it. It's the maintaining and rewriting that matters. If one coding style makes it easier to introduce errors than an alternative, that's a bad thing. It's not an aesthetic concern. Semicolon-less JS is demonstrably less robust.

There are no comments on this comment yet.