Robert FisherJust thinking out loud On variable naming conventionsIf you register and log in you can add comments to my pages. If viewing the main blog page, click the # underneath an entry to comment on it. I have decided that the only variable naming conventions worth while are:
When an abbreviation occurs in camel case, this is what I tend to do: If it is at the end of the identifier, use all caps. If it is in the middle of the identifier, only capitalize the first letter of the abbreviation. e.g. This wasn’t a reasoned choice, but merely an observation. Although, now that I’ve recognized it, perhaps it isn’t so bad as I thought. last updated 2 months ago # |