Path: 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 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."