Re: WOPopUpButton
Re: WOPopUpButton
- Subject: Re: WOPopUpButton
- From: Eric Robinson <email@hidden>
- Date: Thu, 21 Jun 2007 22:39:21 -0400
On Jun 21, 2007, at 7:29 PM, 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.
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
This is probably sending this discussion waaay off topic, but whatever.
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 . You may personally like underscore
method names more than camel case. I personally do as well, but...
Every piece of code you write with non-standard naming conventions
results in anyone who "follows the rules" with respect to Java
programming to have to mentally switch contexts with regard to method
calls, class declarations, etc... Often within the same line of code.
You can't get away from camel case even if you tried. WO, WOnder, and
the java apis all use it.
In the end, camel case isn't that bad, and it makes you a good
citizen. Swallow your pride and getOverIt.
-eric
Ian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com
This email sent to email@hidden
_______________________________________________
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