This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ bootstrap (part 7/n): Rename `class' to `cl' everywhere.


Bernardo Innocenti <bernie@develer.com> writes:

| Nathan Sidwell wrote:
| > Bernardo Innocenti wrote:
| > 
| >>Ranjit Mathew wrote:
| >>
| >>
| >>>Bernardo Innocenti wrote:
| >>>
| >>>
| >>>>I've seen the `cl' abbreviation already used elsewhere in GCC (for
| >>>>instance tree-outof-ssa.c and tree-ssa-live.c).  It's quite customary
| >>>>also in other projects.
| >>>>
| >>>>Would `cls' sound better to you?
| >>>
| >>>libjava uses "klass" in a lot of places - how about that?
| > 
| > klass is used in cp, and clas is used in java.  klass is good for me.
| 
|  $ cd gcc-HEAD
|  $ egrep '\<cl\>' . | wc -l
|  332
|  $ egrep -r '\<cl\>' . | wc -l
|  760
|  egrep -r '\<cls\>' . | wc -l
|  30
|  $ egrep -r '\<klass\>' . | wc -l
|  44
| 
| My personal favourite is 'cl', which also happens to be the
| most popular.  'cls' would be my second choice.

I don't quite understand why it should be "class" or "klass" or
"khlass".  Why can't it be "class_type" or "classtype"?

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]