Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #36418
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Pascal case of the field "BidiElementName" |
| Date | 2017-03-22 19:45 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <oav2b2$1reo$1@gioia.aioe.org> (permalink) |
| References | <Pascal-20170301030546@ram.dialup.fu-berlin.de> <oaubt1$bst$1@gioia.aioe.org> |
On 3/22/2017 1:22 PM, Tristan B. Kildaire wrote: > On 2017-03-01 04:08 AM, Stefan Ram wrote: >> Why are most of the field names of the type >> >> javax.swing.text.AbstractDocument >> >> written in Pascal case? >> >> »BidiElementName«, »ContentElementName« , >> »ElementNameAttribute«, ... >> > Camel case? Pascal case is XxxxXxxxXxxx. Camel case at least when compared to pascal case is xxxxXxxxXxxx. Java convention is pascal case for type names and camel case for member names. Which is probably why Stefan asked. But some of those were static final also known as const so they should really have been all uppercase with underscore aka XXXX_XXXX_XXXX. https://en.wikipedia.org/wiki/PascalCase Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Pascal case of the field "BidiElementName" "Tristan B. Kildaire" <deavmi@disroot.org> - 2017-03-22 19:22 +0200
Re: Pascal case of the field "BidiElementName" Arne Vajhøj <arne@vajhoej.dk> - 2017-03-22 19:45 -0400
Re: Pascal case of the field "BidiElementName" "Tristan B. Kildaire" <deavmi@disroot.org> - 2017-03-23 15:47 +0200
Re: Pascal case of the field "BidiElementName" lewbloch@gmail.com - 2017-03-23 15:52 -0700
csiph-web