Re:Dad and The Ten Commandments of Egoless Programming (2012)
by raverbashing on Saturday March 14, 2015 @05:29PM
(#9204240)
"I'm pretty sure there are good objective metrics both for readability and maintainability, they might not be the only aspects but calling it subjective is going too far."
I think you explained better what I mean.
I'm not denying the good objective metrics (for example, one of the aspects would be following Pep8 in Python)
But beyond that it's mostly about subjectivity.
So, evaluate on the objective metrics as much as possible, but don't waste my time saying that "A is better than B" when it's mostly a subjective aspect
Re:Dad and The Ten Commandments of Egoless Programming (2012)
by i_s on Saturday March 14, 2015 @07:06PM
(#9204579)
This is very true. My brother just told me about a class he took on C# in which the teacher gave him a C on an assignment because of 2 things: 1) he had a using statement that reached far into a library, and 2) he used the "var" keyword. The program was correct otherwise.
I'm pretty sure there are good objective metrics both for readability and maintainability, they might not be the only aspects but calling it subjective is going too far.
For instance maintainable code could be said to minimize side effects, be somewhat modularized and be as compact as possible while being readable. I find it hard that anyone could claim the opposite and be right "as a matter of taste"