I love the discussion you have inhere ....
And we all love the long names that comes out of XML-INTO or should the
command
be named as ReadDataIntoExtensibleMarkupLanguageDataScructures ???
PersonalMotorcyclePolicyInqRq.OtherOrPriorPolicy.C
overage.Limit.LimitAppliesToCd
- Easy to remember, it takes only a second amoung 100 other names -
- Easy and fast to type and ofcourse casesensitive
- Completely understandable, humans thinks like a tree
;-)
/henrik
Simon Coulter <shc@xxxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
20-05-2010 14:12
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Re: procedure parameter names
On 20/05/2010, at 9:05 PM, Larry Ducie wrote:
Having said that, RPG supports (IIRC) variable names up to 4096
bytes long.
True.
This is the longest supported (and documented) variable name length
that I am aware of in any programming language. I can only think
that the ability to code a variable with a name 4096 bytes long is a
case of Barbara et al showing off in a grand fashion, more than out
of any kind of necessity on the developer's part. A slight but
welcome over-compensation methinks - the compiler team equivalent of
buying a sports car at 40. ;-)
Nope, supposedly a customer request/requirement. I presume some sort
of code generator that got carried away with names. Barbara would know
more. Many languages with so-called long name support actually only
tolerate long names and require them to be unique within the first n
characters where n is some number less than the tolerated size.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.