Xref: utzoo alt.folklore.computers:7186 comp.misc:10590 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!maverick.ksu.ksu.edu!hoss!hoss.unl.edu!greg From: greg@hoss.unl.edu (Hammer T. H.) Newsgroups: alt.folklore.computers,comp.misc Subject: Re: Coding in lowercase - references? Message-ID: <1990Nov18.224326.18975@hoss.unl.edu> Date: 18 Nov 90 22:43:26 GMT References: <20517.273e9e6b@merrimack.edu> <0093FC00.24D7FA00@BINAH.CC.BRANDEIS.EDU> Sender: news@hoss.unl.edu (Network News Administer) Organization: University of Nebraska, Computing Resource Center Lines: 45 ... parks@BINAH.CC.BRANDEIS.EDU forgets to attribute the following: >>Some time ago, on one of these groups, yet another discussion occurred >>on whether programs should be coded in upper or lower or even mixed >>case letters. Someone claimed that lower case was better, because our >>eyes are more trained ("used to") to lowercase letters -- does anyone >>have a reference for this, or any related studies? In writing ACOS code for my BBS, I have come to the decision on having all commands in lowercase and all variables in caps, public labels in caps, and regular labels in lowercase. To me it makes the code much more readable, much better than the programs I see where the programmer felt that every command must begin with a capital letter. Each language has its conventions. Pascal for having constants in CAPS and other variables in lower/mixed case. I even got into the habit of using different captialization of my begin and end statements. If it is the begin and end for the main program, they are BEGIN and END. If they are for procedures/functions, they are Begin and End, and otherwise as begin and end. Other things with Pascal I did was: procedure x (y, z: integer); Begin . : if ... then begin . : end else begin . : end; . : End; (* x *) I won't bother going into any other languages right now. I fell asleep after 3 AM last night with a can of C__e and a bag of D_____s. -- __ _____________ __ \ \_\ \__ __/ /_/ / "I'm working the Eight Minus Zero Shift..." \greg@hoss.unl.edu/ "Eight Minus Zero Shift?" \_\ \_\|_|/_/ /_/ "Yup, the Happiness Patrol."