Talk:Naming conventions (programming)
From Wikipedia, the free encyclopedia
[edit] 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)
This use of uppercase (actually it no lowercase) for macro names predates the creation of Microsoft as a company. If you look at Table 787.5 of these measurements, second to last row, you will see that in general macro names do not include any lower case letters. Derek farn 16:44, 10 October 2006 (UTC)
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)
The comment about programmers being lazy for typing long identifiers is subjetive. 11:31, 2 March 2006 (GMT -5)
- I agree, and have changed it to something more objective and sensible. In fact, the whole section needed revision. Claiming that most business applications are written in several languages, even if this was true, the multiple languages wouldn't interact with eachother, they would share data through a seperate medium such as the OS. --RITZ 16:41, 10 October 2006 (UTC)