3 ms·
I wouldn't say that those things are "mostly" subjective, that sounds like a defensive argument. I'm pretty sure there are good objective metrics both for read
by mhomde 12y ago
I wouldn't say that those things are "mostly" subjective, that sounds like a defensive argument.
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"
- raverbashing 12y ago"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
- i_s 12y agoThis 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.