Code Naming Conventions, The Series

While I was writing my last series (User Group Startup Stories) I noticed that the series idea helped to focus my attention, consolidate my ideas and forced me to put the digital pen to the digital paper. In light of this I'm going to start another series on a very contensious topic....naming conventions. I understand that people are very passionate, somewhat belligerent and quite opinionated about their favourite naming convention. Rather than trying to preach as an expert, I'm going to pick areas in code where naming conventions are used and I'm going to try to discuss a number of options complete with the pros and cons as I see them. After presenting these ideas I will post my personal preference and an explanation of why I choose it.

I'm going to gather the information in these posts from a couple of different sources. In addition to my own opinions and experiences I'm going to references the following two books. These are great tomes and I recommend them for purchase.Here's a list of what I intend to discuss in the series.I'll admit that right now I'm a little nervous about doing this series. People are going to take my ideas and opinions and kick them around like angry footballers striking a ball. Remember one thing. In the end it's not about right and wrong, good or bad, old school or new age. Naming conventions are about consistency and readability through adherence to standardized policy.

posted @ Tuesday, July 04, 2006 5:10 PM

Print

Comments on this entry:

# Interesting Finds: July 5, 2006

Left by Jason Haley at 7/5/2006 6:46 AM
Gravatar

# Local Variable Naming

Left by Coding in an Igloo at 7/5/2006 7:40 PM
Gravatar
In the second post of my Code Naming Conventions series I'm going to explore how we could name our local...

# Module Variable Naming

Left by Coding in an Igloo at 7/8/2006 2:16 PM
Gravatar
As part of my Naming Conventions series I'm going to discuss the naming of module level variables. Naming...

# On Naming Conventions

Left by The Coding Hillbilly at 7/16/2006 7:10 AM
Gravatar

# Class Naming Conventions

Left by Coding in an Igloo at 7/16/2006 11:12 AM
Gravatar
I'm over half done my Naming Conventions series and I'm starting to notice that my posts are getting...

# What's in a name?

Left by Fear and Loathing at 7/19/2006 4:27 AM
Gravatar
I’m really digging the series of blog posts over at Coding in an Igloo(an Emontonian) that cover

# Naming Conventions for UI Controls

Left by Coding in an Igloo at 7/19/2006 2:09 PM
Gravatar
Moving from backend code that I've concentrated on in the rest of this series to the UI, today I'm going...

# On open source and naming conventions...

Left by Andrew Connell [MVP MCMS] at 7/27/2006 5:59 PM
Gravatar

# re: Code Naming Conventions, The Series

Left by Michael Norton at 8/7/2006 1:30 PM
Gravatar
This is a nice little series. Brief and to the point. You provide alternatives, make good arguments, and share your personal preferences without insisting they are the only way things can be done. In fact, you admit to changes in your approach over time as you've come to learn new things or hear new perspectives. By the way - I agree with all of your preferences (Including the Noun-Verb format in SQL)

Your comment:



 (will not be displayed)


 
 
 
Please add 3 and 8 and type the answer here:
 

Live Comment Preview: