Jump to content

Talk:Naming convention (programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by EmeryD (talk | contribs) at 16:31, 10 October 2006 (Deleted). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Deleted

I deleted, "Identifiers representing macros in C and C++ are, by convention, written using only upper case letters."

Because this is not true. "__cplusplus" for example is an all lower-case, standard macro. The all-caps macros are found primarily in Microsoft code, and have been adopted by some C++ programmers. C++ has very loose style guides; for the most part, everyone's is a little bit different.--RITZ 16:31, 10 October 2006 (UTC)[reply]



The comment on Underscore being harder to access sounds pretty bull. On most keyboards, shift+- is the access key, and itM's certainly not that inaccessible (compared to ctrl+Shift or AltCar...)Circeus 18:55, 31 January 2006 (UTC)[reply]


The comment about programmers being lazy for typing long identifiers is subjetive. 11:31, 2 March 2006 (GMT -5)