Path: utzoo!mnetor!uunet!mcvax!enea!ttds!draken!kth!sics!pd From: pd@sics.se (Per Danielsson) Newsgroups: comp.lang.misc Subject: Re: Readable names (was Re: case sensitivity) Message-ID: <1816@sics.se> Date: 21 Mar 88 13:56:56 GMT References: <2318@bsu-cs.UUCP> <2835@enea.se> <1810@sics.se> <3156@fluke.COM> Reply-To: pd@sics.UUCP (Per Danielsson) Organization: Swedish Institute of Computer Science Lines: 21 In article <3156@fluke.COM> mce@tc.fluke.COM (Brian McElhinney) writes: >The only language I am aware of that allows embedded blanks is CORAL. >It has the mis-feature of allowing any number of blanks ("the horror... >the horror..."). > >Are there languages other than CORAL that allow blanks in symbol names? Yes, Algol-68 allows whitespace in symbol names. Whitespace has no significance at all in Algol-68, which means that it is *not* a part of the symbol name, it's simply ignored. Of course, Algol-68 uses a different typeface for other syntactic elements than symbol names, which you might call cheating. :-) In a real implementation capital letters are used instead of the separate typeface, leaving lower case letters for identifiers. The code becomes very readable if you remember to put in a few blanks here and there in your symbol names. -- 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."