Article View: comp.lang.misc
Article #5281Readable names (was Re: case sensitivity)
From: Per Danielsson
Date: Mon, 14 Mar 1988 10:59
Date: Mon, 14 Mar 1988 10:59
17 lines
1228 bytes
1228 bytes
In article <2835@enea.se> sommar@enea.UUCP(Erland Sommarskog) writes:
>More seriously I think the use of mixed key in identifier names is a
>virtue. Why call something averylongnamewhichyoubarelycannotread when
>you can call AVeryLongNameWhichIsYetEasyToReadAtFirstGlance? OK, you
>may use underscores instead of case shifts. However, there is a drawback
>if the compiler has low limit of significant characters.
Why not call it A very long name which is yet easy to read at first
glance?
Much easier to read than your version. There are programming languages
which allow blanks in identifiers, and rightly so, since there's no
reason not to.
--
Per Danielsson UUCP: pd@sics.se (or {mcvax,decvax}!enea!sics!pd)
Swedish Institute of Computer Science
PO Box 1263, S-164 28 KISTA, SWEDEN
"No wife, no horse, no moustache."
Technical Details
Message-ID:
<1810@sics.se>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!enea!ttds!draken!kth!sics!pdReferences:
<2318@bsu-cs.UUCP> <2835@enea.se>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!enea!ttds!draken!kth!sics!pd From: pd@sics.se (Per Danielsson) Newsgroups: comp.lang.misc Subject: Readable names (was Re: case sensitivity) Message-ID: <1810@sics.se> Date: 14 Mar 88 10:59:37 GMT References: <2318@bsu-cs.UUCP> <2835@enea.se> Reply-To: pd@sics.UUCP (Per Danielsson) Organization: Swedish Institute of Computer Science Lines: 17