The way of the wrong line has become the standard. And are used in all programming books on my shelf.
The not-so-serious 'way of the wrong line' was to indicate a not so serious statement. But I see now that it was not easy to see.
Also I like the lack of duplication in java (no separate header files and prototypes). The class definitions say it all.
I disagree. The h / cpp division enables users to write classes but only releasing the .o + h and by doing this, one does not have to write a API, but java solves this by having a javadoc generator.
I like being able to skip the implementation while browsing for functionality. But this was a bit offtopic.
excessive scrolling and its effects on productivity has to weigh in somewhere.
Cryptic code and its effects on productivity (as it takes time decrypting/interpret) has to weigh in somewhere too, not to say that lineshifting the { / } makes code that much easier to read. [I am also found of high density commands.]
[size=16]What if we concentrate on the selection and naming of variables in the beginning?[/size]
And maybe come to some loose agreements on code structure.
I know about two general things I would like to implement into all arduino core libraries and examples. (because these files sets the standard for many people.)
1) The use of { } after all if and if-else
2) The use of scope resolution operators { } after case before break
...an arduino standard should not be so strict that it disapproves of either (... nor...)
[slightly modified]
How do you guys feel about making a standardization committee?
This committee should ofcourse validate and post/log all of their work. It's role should be to take decisions based upon the public and tha arduino team? And ofcourse revwrite examples and code to suit the new standard.