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: 1014db,d95b511473b3a931 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,d95b511473b3a931 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Language Choice and Coding style Date: 1996/06/23 Message-ID: #1/1 X-Deja-AN: 162331900 references: organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-06-23T00:00:00+00:00 List-Id: James said " Except for the "Hungarian notation" silliness, the idea of spellingVariableNamesLikeThis was originally a Smalltalk and/or Pascal idiom, and it has become nearly universal in GUI libraries (again I think because of Smalltalk's influence). C programmers use variable names I really think this is Pascal influence rather than Smalltalk influence, since it predates the Smalltalk craze. Remember that Pascal had an out-of-proportion influence on PC's because of Turbo-Pascal. The Microsoft interfaces, on which many C programmers grow up, are Pascal derived (they even used Pascal calling sequences, and needed special treatment from C to get the calling sequence right). As I said in an earlier message, I trace the StyleOfSmashingWordsTogetherWhichIDoNotLike to UCSD Pascal. P.S. When using the default file names in GNAT, this style really is unpleasant, since the default file names are all lower case (thankyou Unix for being so particular about casing of file names :-) and you get a file name like styleofsmasgingwordstogetherwhichidonotlike.ads which is really charming :-) [of course you can always use the Source_File_Name pragma to specify a non-default file name] In an earlier note, someone (perhaps tongue in cheek) suggested that the reason that this style is popular is that programmers are too lazy to press the shift key and reach for the underline. It's hard to believe that coding styles could be significantly affected by such silliness but who knows?