Introduction

◀ Naming Conventions▶ My Naming Conventions
Amazon As mentioned earlier naming convention refers to the way you create names for your program’s elements and entities including names of variables, classes, objects, functions, and even source files.

Why is naming convention important? Because without it you’ll be making unnecessary syntax errors. For example, suppose you decide to name a class SystemManager and you name one of its objects systemManager, but in the program you mistakenly write SystemManager when you really mean systemManager, or vice versa. You compile your code and get an error.


Obviously this is a simple syntax error and takes no time to fix, but better naming conventions greatly decrease one’s confusion and make names consistent with one another.

Therefore it is worthwhile to come up with your own naming conventions and stick to them for the rest of your programming career. Next we’ll look at my naming conventions!
◀ Naming Conventions▶ My Naming Conventions

fShare
Questions? Let me know!