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%20Joyner/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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to