7 ms·
But we're writing code, not a grammatically correct english essay. If incorrect grammar leads to shorter and simpler variable names that other programmers under
by inverba 12y ago
But we're writing code, not a grammatically correct english essay. If incorrect grammar leads to shorter and simpler variable names that other programmers understand, then it should be encouraged.
- Xeoncross 12y agoTo some extent, this is true in the real world - it often feels like completely correct english is a lost cause. Many of our grammar rules have been replaced over time as our language has evolved. I was upset when I learned some people didn't have to spend years in school trying to figure out all how to correctly sound out words in their language. At least we have a large vocabulary to pull from.
- sukilot 12y agoWhat is completely correct language? That was always a lost cause; it's not how people work.
- zimpenfish 12y agoMost of the "grammar rules" that people like to hoist their flags upon have never been "rules" (except in the head of woolly minded prescriptivists like Orwell, Strunk, et al) because there has never been (and likely never will be) a formal English grammar.
- jcbrand 12y ago> If incorrect grammar leads to shorter and simpler variable names It doesn't. > that other programmers understand It confuses many programmers.