From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,d95b511473b3a931 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,d95b511473b3a931 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,d95b511473b3a931 X-Google-Attributes: gid1014db,public From: ucaa2385@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann) Subject: Re: Language Choice and Coding style Date: 1996/06/28 Message-ID: <4r059t$2at0@info4.rus.uni-stuttgart.de>#1/1 X-Deja-AN: 162535054 references: <4quk22$78@krusty.irvine.com> followup-to: comp.lang.ada,comp.lang.c,comp.lang.c++ organization: Comp.Center (RUS), U of Stuttgart, FRG newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-06-28T00:00:00+00:00 List-Id: Adam Beneschan (adam@irvine.com) wrote: : Lore has it that the UCSD Pascal code for TURTLEGRAPHICS had a Boolean : variable that would, in Ada, be written as Pen_Is_Down. Another : variable was called Go_On. Neither one looks very appealing when : written in all-capital letters with no underscores. This might have I wonder why people expose themselves to extra work. Since a couple of years I even quit typing capital letters at all. In former days I believed that typing the keywords in a different style, for textbook purposes, but I have changed my mind: no big win. It is much more comfortable to ignore the shift key on the keyboard. What a blessing that Ada allows this! If Ada had the Unix/C-malady of case-sensitivity (imho a non-professional academic joke) I never had accepted Ada, anyway, right from the beginning. And I would reject an text editor which does not have the non-case-sensitive search function as default. I made the experience that lower case letters are faster to read. : been one reason UCSD adopted the smashed-together mixed-case style : (also called "pseudo-Germanic", probably because the German language : ( sometimes forms nouns by smashing several words together). This was We Germans are used to easily read combined nouns such as "pseudogermanic". We even do not need a hyphen between the subcomponents when reading "Adacompiler", "Gnatlinker", "Compilermanufacturer", etc.. Nevertheless I am a strong advocate of heavy use of underscores. Therefore I would prefer e.g. turtle_grafics, pen_is_down, go_on, etc. in "programcode" ;-). for one thing i have an extreme antipathy: the enforcement of rules which do not have a useful justification. if someone chooses for himself to carve all in CAPS, he may freely do so, but he should not bother me to request this from me. -- Peter Hermann Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen Team Ada: "C'mon people let the world begin" (Paul McCartney)