“In computer programming, a naming convention is a set of rules for choosing the character sequence to be used for identifiers which denote variables, types, functions, and other entities in source code and documentation.” — Wikipedia
Naming things is hard!
This article will try to focus on the A/HC/LC method for naming, hoping this will enhance code readability.
Although these suggestions can be applied to any programming language, we’ll use JavaScript to illustrate them in practice.
Report Story