Quote:> Fluff question, but it's always puzzled me a little. Either "commmon"
> or "communal" are a better fit than "protected." Anyone know how
> "protected" was picked?
I wasn't there, so this is just a guess.
I think that when Stroustrup was devising the new language, he picked
new keywords largely the same way that's done now: he looked for a
word with the correct meaning, but not largely used in the language.
I don't know about "communal," but "common" was used very often (in C
programs) with several meanings. One meaning that I am familiar with
actually comes from FORTRAN's idea of global (rather than file-scope)
variables. I know for a fact that it also had other uses, possibly as
a variable name in some programs.
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]