News for hackers. Stuff that matters.
Re:Dad and The Ten Commandments of Egoless Programming (2012) by raverbashing on Saturday March 14, 2015 @04:46PM (#9204098)
It seems to me this list, while having positive ideas, reeks of condescendence. it's mostly about how you are "much better than everybody, that's why you have to play cool with everybody"

What is missing is a healthy dose of "why do you think your ideas are better than everybody else's?"

Readability is mostly subjective. Code quality, maintainability, etc, are mostly subjective as well.

So don't give me that BS "I'm just trying to get the best code possible" when it's your opinion

Sure, I'm not saying that something like xx = strinvcatpfr(yy * zky_eng) can't be improved, but beyond a certain point it's mostly about taste and endless nitpicking

Re:Dad and The Ten Commandments of Egoless Programming (2012) by mhomde on Saturday March 14, 2015 @05:06PM (#9204158)
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"

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.
Re:Dad and The Ten Commandments of Egoless Programming (2012) by i_s on Saturday March 14, 2015 @07:00PM (#9204556)
There are some things about software that are objective, such as simplicity. Rich Hickey talks a lot about this.

http://www.infoq.com/presentations/Simple-Made-Easy

Re:Dad and The Ten Commandments of Egoless Programming (2012) by raverbashing on Sunday March 15, 2015 @03:44AM (#9205742)
Simplicity is never simple

And is most often ruined by the real world and its exceptions