O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Naming Conventions

Some developers are strict about naming conventions—for very good reason. We’re not going to suggest any specific sets of naming conventions here because different people have different ideas about what makes sense. It’s something you and your team should decide for yourselves.

That said, here are a few ideas:

  • Because short variable names can result in cryptic-looking code, you might require that every variable name consist of at least two words, with the first letter of each word in uppercase. So instead of variable names such as tot and fn, you would have names such as CurrentTotal and FirstName.

  • Many coders like to use the first letter of each variable’s name to suggest the type of information the variable will hold. For ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required