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.6 required=5.0 tests=BAYES_05,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d95b511473b3a931 X-Google-Attributes: gid103376,public From: hartwig@hartwig.lfso.loral.com (Michael R. Hartwig) Subject: Re: Language Choice and Coding style Date: 1996/06/24 Message-ID: #1/1 X-Deja-AN: 161880256 sender: hartwig@hartwig.lfso.loral.com references: organization: Lockheed Martin Federal Systems reply-to: hartwig@lfs.loral.com newsgroups: comp.lang.ada Date: 1996-06-24T00:00:00+00:00 List-Id: In article nasser@apldbio.com (Nasser Abbasi) writes: > Tonight I'd like to ask a question I've always been afraid to ask. > > I'd like to know why do C and C++ programmer > > pchWriteInThisStargeAndHardToReadWayLikeThis while the Ada programmers > > Write_In_Clear_And_Nice_Way_Like_This ?? [snip] > My own personal analysis of the situation after long thought is that > it is a cultural thing. > > Most C and C++ programmers are more hippy , 1960's type, type of people, > the anti-establishment crowd, who just want to be different, and so > they adjust the code more so by WritingItLikeTHis so that the unique > personality of the C/C++ programmer comes out in distinctive way from > the rest of the programmer community at large. I'm confused. If most C/C++ programmers have runTogetherFunctionNames, how can it be "distinctive", "different", and "anti-establishment"? [snip] > I don't think I've seen Ada code written the C/C++ way, and I dont > think I've seen C/C++ code writeen the Ada way. I've seen code > written like_this_with_no_upper_case which is C/C++ code, but that > was very rare. I've seen both styles in both languages. [snip] > Well, thank you in advance for your opinion on this subject. > nasser My opinion is quite simple -- I prefer runTogether over using_underscore_characters because 'shift-_' is slower to type than runTogether. I don't feel that runTogether is hard to read at all, so I continue to use it. BTW, *either* style is much easier to read, IMO, than ALL_UPPERCASE_WITH_UNDERSCORES. Michael -- Michael Hartwig Lockheed Martin Federal Systems, Owego, NY