• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Java Programming Conventions, was Re: WOPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java Programming Conventions, was Re: WOPopUpButton


  • Subject: Java Programming Conventions, was Re: WOPopUpButton
  • From: Paul Lynch <email@hidden>
  • Date: Fri, 22 Jun 2007 10:27:17 +0100

On 22 Jun 2007, at 03:39, Eric Robinson wrote:

Whether you like it or not, infix caps, or camel case, are part of the Official Code Conventions of the Java Programming Language, seen at http://java.sun.com/docs/codeconv/html/ CodeConventions.doc8.html#367 .

I hadn't seen that arrangement of Sun's official code conventions for Java, but I did notice that it was inconsistent in several places with itself, as in the use of white space within lines. The document mostly uses:


if (condition) {

Whereas in this thread, and in code that I often see from other developers, I would say that the norm is:

if( condition ){

Which makes me very uncomfortable. I am curious as to people's personal preferences, and reasoning behind them.

This is Java, not typesetting, so typographical arguments will receive short shrift.

Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Java Programming Conventions, was Re: WOPopUpButton
      • From: Ian Joyner <email@hidden>
    • Re: Java Programming Conventions, was Re: WOPopUpButton
      • From: Lachlan Deck <email@hidden>
References: 
 >WOPopUpButton (From: "Sigurður E. Vilhelmsson" <email@hidden>)
 >Re: WOPopUpButton (From: David LeBer <email@hidden>)
 >Re: WOPopUpButton (From: Ian Joyner <email@hidden>)
 >Re: WOPopUpButton (From: Eric Robinson <email@hidden>)

  • Prev by Date: Re: Java Client refuses to use Client-Side classes once deployed
  • Next by Date: Re: WOPopUpButton
  • Previous by thread: Re: WOPopUpButton
  • Next by thread: Re: Java Programming Conventions, was Re: WOPopUpButton
  • Index(es):
    • Date
    • Thread