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=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,d95b511473b3a931,start X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,d95b511473b3a931,start X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,d95b511473b3a931,start X-Google-Attributes: gid103376,public From: nasser@apldbio.com (Nasser Abbasi) Subject: Language Choice and Coding style Date: 1996/06/21 Message-ID: #1/1 X-Deja-AN: 161344677 sender: news@biosys.apldbio.COM original-sender: nasser@apldbio.com followup-to: comp.lang.ada organization: Applied BioSystems newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-06-21T00:00:00+00:00 List-Id: 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 ?? Is this a cultural thing? I don't want to get into case sensitive or not case senstive issue here, since I don't see why this way of writing has anything to do with it. 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. While the Ada programmers seem to be more of the conservative type, the type who would never go faster than 55 mph even in the middle of dead valley where there is no traffic for miles on stretch, the type who would never color their hair or do something anti-establisment and so this reflect in the Long_And_Slow_But_Sure_Way_They_Write_The_Code. I must admit that I myself, on a bad day, when I am mad about something, (like a bug that is hard to find) that IdoStartWritingLikeThisAndRightlySo, but most days I_Like_To_Write_Like_This, and my code as a result is very easy to read. 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. SO, why do you think this difference exist between the 2 groups of programmers? It seems to be getting worse with time. I remmember starting to first see ThisTypeOfWritingOfCode around 1985-1986 time frame, I dont think I saw this before but I can be wrong. So the question is really, what did happen in 1985-1986 to cause this? It can't be just a random thing. This time frame seems to coinside with C++ becomming more populare and starting out, but there is nothing in the C++ language manual that SaysOneMustWriteLikeThis , and also there is nothing in the Ada manual that says one Must_Write_Like_This, so what is the deal here? I'd like to research this further and find out how do Cobol and PLi and Basic and other programmer write, and see if there is a correlation between the emotional/cultural profile of the programmer and between the tyep of the language they use and the manner of which they write in it. Well, thank you in advance for your opinion on this subject. nasser -- Nasser Abbasi. C/C++/Ada Solaris. GeneAssist - A client/server application for Nucleic acid and protein sequence search and analysis. PE-Applied BioSystem division. email: nasser@apldbio.com MSEE(control), MSCS, MSCE, FM(Fide Chess Master 2305 ELO 1.e4 !!)