• 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
Re: WOPopUpButton --> style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopUpButton --> style


  • Subject: Re: WOPopUpButton --> style
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 22 Jun 2007 12:15:11 +1000

On 22/06/2007, at 9:29 AM, Ian Joyner wrote:

On 22/06/2007, at 6:43 AM, David LeBer wrote:

On 21-Jun-07, at 2:15 PM, Sigurður E. Vilhelmsson wrote:

I figure I need to build an NSArray and populate it with the values
from the Course_description table and then use that to populate the
course_descriptionID in the Course table, but exactly how to do that
is just out of my reach.

First thing, your naming convention looks a little wonky. Java usually uses CamelCase for class and method names.

Well to be fair, Character.isJavaIdentifier* allows for '_'

Hmm. Thanks David, I hadn't heard the term CamelCase before. Is that because camels are unrideable and CamelCase is unreadable?

http://web.mac.com/joynerian/iWeb/Ian Joyner/Readability.html

Speaking of style... personally I prefer: if ( <condition> ) statement else if ( <condition> ) { statement statement } else statement

But, these days with the formatting preferences in Eclipse it's the same amount of key-strokes for any formatting you prefer: CMD-SHIFT- F ;-)

But for camels I find that the font of choice is helpful for readability. The stuff that irks me is ugly line-wrapping (e.g., when people are trying to keep everything within 72 spaces, seeing as you've already lost 8 for indentation).

But yeah - the point about the IDE allowing the user to view things in their preferred mode - but saving the file in the style set by the repository king would be nice.

with regards,
--

Lachlan Deck

_______________________________________________
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


References: 
 >WOPopUpButton (From: "Sigurður E. Vilhelmsson" <email@hidden>)
 >Re: WOPopUpButton (From: David LeBer <email@hidden>)
 >Re: WOPopUpButton (From: Ian Joyner <email@hidden>)

  • Prev by Date: Re: WOPopUpButton
  • Next by Date: Re: WOPopUpButton
  • Previous by thread: Re: WOPopUpButton
  • Next by thread: Re: WOPopUpButton
  • Index(es):
    • Date
    • Thread