Quote:
Originally Posted by tawnos23
...an award for good practices and style would make us programmers more focused on good technique and style.
|
Then who decides what "good style" is? How do you determine "good technique" from a finished program?
In c, which would you award points for: putting curly braces on the same line as the
if statement, or putting them in the same column? Do you penalize a test for equality to one because it's redundant, or do you reward it because it's clearly readable? Do you want to promote block comments or line comments? What do you think of
Hungarian Notation? How would you grade
Duff's Device?
I just don't think it's a good idea to try to judge style. I don't think it's
possible to do so unless there's a single person doing the judging, and I think there is too much subjectivity about what makes style "good" to make it a positive experience for those involved.