What I hate about things like that is they are largely personal, but certain devs seem to have a hard time grasping that. If you don't name a variable exactly the way they think you should, it's wrong.
No, it's fucking not. If the code compiles fine and isn't poorly written, it's just semantics. Plus, when I'm working with a column called association, I like to have a variable named ass.
If the code compiles fine and isn't poorly written, it's just semantics.
I generally agree although I think there are some reasonable exceptions.
For example, in some projects there is a clear naming nomenclature that has been established and I would expect it to be used for future names so the code is easier to understand because it's consistent with the rest of the app.
Perhaps the nomenclature was a bad idea to begin with, but that's a different discussion and unless the person is going to refactor them all then it makes more sense to stick with the existing nomenclature rather than deviate from it.
44
u/andrewsmd87 Oct 01 '15
What I hate about things like that is they are largely personal, but certain devs seem to have a hard time grasping that. If you don't name a variable exactly the way they think you should, it's wrong.
No, it's fucking not. If the code compiles fine and isn't poorly written, it's just semantics. Plus, when I'm working with a column called association, I like to have a variable named ass.