Comment by moron4hire
5 hours ago
"you're advocating for projects that have wildly different coding styles from file to file and function to function?"
I'm advocating for giving up in style as a thing you delude yourself into thinking matters. The opposite of "enforcing consistent style" is not "bedlam and mayhem." I'm saying just let people work on their things and focus on real metrics like testing and algorithmic analysis.
This idea that code should be "consistent" is a gigantic question begging practice. Consistent with what? As according to whom? For what purpose? I will go out on a very short, very thick limb and say that nobody has ever demonstrated a good definition of "consistency," say nothing of the value of adhering to that definition.
It is the way of no way. It does not imply doing things in a stupid way. It implies the narrow minded focus demonstrated by others is an impediment to excellence.
I'm getting rate limited do to an ancient slow-ban I picked up years ago and probably redemonstrate the need for on a regular basis, but I think tacking this text intended as a reply to another person into the end of this comment makes sense.
I suspect if Bruce Lee had ever tried to work as a martial arts instructor in a school as his primary form of living, he'd have found that he couldn't communicate with the other instructors in his school, that they would be insistent that the rigid forms were the only way to achieve true mastery. The value in Bruce Lee being an actor was that he never had to really have that argument with a cadre of fellow instructors. He was able to build his own cult of personality and start his own school. Which, of course now, the art of Jeet Kun Do was ossified into a series of predefined patterns for how to operate, completely missing the point.
I'm not sure if I disagree with you or not, but this argument isn't very convincing.
> Consistent with what? As according to whom? For what purpose?
Consistent with.. itself! According to.. the people working on it! For the purpose of making it easier to read/write/understand!
Like, I'm willing to entertain arguments that it doesn't actually accomplish this, but these are questions with pretty obvious answers.
A lot of this conversation depends on the definition of "Style" we're using though.
I assumed it meant things like tabs/spaces/bracket placement/semicolon usage and so forth.
If you meant something much higher level, like, dunno, object orientation or what not, then that's an entirely different conversation.
As a side note, as long as we depend on extremely literal character by character diffing algorithms in order to display changes, code formatting is going to have some definite implications.