Right, camelCase is the preferred way for me as well, but it would be good to keep things consistent. What is the OpenLaszlo team going to do, are they going to switch to the Laszlo Webtop coding standard?
- Raju On Jan 23, 2010, at 1:53 AM, Rami Ojares wrote: > I also use camelCase in my code (java developer as I am). > I quess this issue will never be settled... > Since the events are generated mostly by the compiler out of attribute names > that also seem to be all lowercase > then the rationale has been that keeping it all lowercase reduces confusion > and increases simplicity. > Of course camelCase is better for readability. > > Be that as it may the current standard is all lowercase. > > - rami > > 23.1.2010 2:47, Antun Karlovac kirjoitti: >> >> This brings up a good question: For new OpenLaszlo classes (and changes >> moving forward) is the coding standard for attributes and events still all >> lowercase? I only ask because for our projects (including Webtop) at Laszlo >> Systems, we now do camel case for attributes and events, and camel case with >> a capital first letter for class names. We implement this on all *new* >> classes. I'm happy to follow whatever the official recommendation is for >> OpenLaszlo though. >
