René,
I might be able to help with your memory, please see below. Bob, In general I would say this is a matter of personal taste. People coming from java for example are used to see any identifier starting with lower case as an instance and a class otherwise. It's very usual to see things like "textParser=TextParser" in parameters lists for example.
There are corner cases, of course, mainly when you deal with the java library. A couple cases from the top of my mind: - Reflection related: Class.forName("SomeClass") won't work if not a properly cased class name is used. A similar issue is raised when loading JDBC drivers, using class loaders, etc.
- Case clashing within some class in the java library. There are cases when members exist in a library class with names just differing in case. If you're using such a class then you better adhere to proper casing. The following snippet comes from page 48 of René's "A Large NetRexx Application" presentation at www.rexxla.org/events/2004/renej.pdf
options strictcase -- we do not usually use STRICTCASE but in this file it is necessary
-- because the Collections class has a static method synchronizedList
-- and also an inner class SynchronizedList etc. Was that it René? 2010/11/18 René Jansen <[hidden email]> Bob, -- Saludos / Regards, David Requena _______________________________________________ Ibm-netrexx mailing list [hidden email] |
Yes, that was it! Funny that it has made its way to a presentation!
Thanks David! René.
On Thu, Nov 18, 2010 at 3:11 PM, David Requena <[hidden email]> wrote: René, _______________________________________________ Ibm-netrexx mailing list [hidden email] |
Serendipity I would say :-)
BTW, it seems I managed to drop the ball here. That code appears at page 42 of the presentation instead of the 48th.
2010/11/18 René Jansen <[hidden email]> Yes, that was it! Funny that it has made its way to a presentation! -- Saludos / Regards, David Requena _______________________________________________ Ibm-netrexx mailing list [hidden email] |
Free forum by Nabble | Edit this page |