A blog about my rantings, including Games, Game Development, Gaming, Consoles, PC Gaming, Role Playing Games, People, Gaming tips & cheats, Game Programming and a plethora of other stuff.
This approach to naming and typing is called "Camel Case", and it's purpose is not to save you time now, it's to save you time in a week, or a month, or a year. Because though you're right it takes slightly longer to type, as I have to hold the shift key every now and then, but to read it back makes it so much more easy to read.
And I've made sure variables, be they local, member, global or parameters, have meaningful names, and I can quickly with my naming convention check their scope.
This is C++, it's all about maintainability, under the hood the compiler strips everything down to bare bones, so in the actual code you should always aim to readability, to optimize maintainability.
Also, if you're "slowed" by using the shift key, your touch typing technique needs work :)
thank you, great, one question: do you really need to capitalize on every m_NewWordInCapsLock? coz waste of time.
ReplyDeleteThis approach to naming and typing is called "Camel Case", and it's purpose is not to save you time now, it's to save you time in a week, or a month, or a year. Because though you're right it takes slightly longer to type, as I have to hold the shift key every now and then, but to read it back makes it so much more easy to read.
DeleteAnd I've made sure variables, be they local, member, global or parameters, have meaningful names, and I can quickly with my naming convention check their scope.
This is C++, it's all about maintainability, under the hood the compiler strips everything down to bare bones, so in the actual code you should always aim to readability, to optimize maintainability.
Also, if you're "slowed" by using the shift key, your touch typing technique needs work :)