[Prev][Next][Index][Thread]
Re: Long names are doom ?
-
To: info-dylan@ai.mit.edu
-
Subject: Re: Long names are doom ?
-
From: Jochen Schmidt <jsc@dataheaven.de>
-
Date: Fri, 25 May 2001 10:30:02 -0400 (EDT)
-
Followup-To: comp.lang.dylan
-
Organization: Dataheaven
-
References: <3B0DBCAB.E3F06372@my-deja.net>
-
User-Agent: KNode/0.4
-
Xref: traf.lcs.mit.edu comp.lang.c++:562322 comp.lang.apl:18636 comp.lang.dylan:13315 comp.lang.clos:5184 comp.lang.smalltalk:114041 comp.lang.tcl:167631
00001111 wrote:
> Hi All,
>
> Anybody use variables/names longer than 31 character
> and finds it really useful ?
Yes. In Common Lisp long identifiers are often used.
Take a look in
"The Art of the Metaobject Protocol"
to see identifiers like:
generic-function-argument-precedence-order
update-instance-for-different-class
ensure-generic-function-using-class
and I've to say it is _good_ that they are so long.
Yes you could e.g say
genFunArgPrecOrder
But it is *much* less readable this way.
> Then please respond why, where, when.
> I have folks here in comp.lang.fortran who claim hard that they
>
> - "never seen a well written, legible program
> that uses any identifiers longer than 18-20 characters..".
Nonsense
> - "long variables names are *hard* to read. And, you have to
> read though all the characters of every instance of them...".
see above Example "genFunArgPrecOrder"
> - "it degrades the legibility of a program to use identifiers that
> can't be easily remembered...."
>
> As a result, despite 90% of computer languages have long, very
> long or 'infinite' identifiers, fortran folks seems plan to stay
> with their 6...aargh ...sorry this was just not far ago... 31 character
> limit intil year 3000.
6 characters? so my example would be like gFuAPO - yes _very_ readable!! ;-)
Regards,
Jochen
Follow-Ups: