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,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,af40e09e753872c X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public X-Google-Thread: 10db24,30e368bdb3310fe5 X-Google-Attributes: gid10db24,public X-Google-Thread: f8c65,30e368bdb3310fe5 X-Google-Attributes: gidf8c65,public X-Google-Thread: 1008e3,30e368bdb3310fe5 X-Google-Attributes: gid1008e3,public From: ok@goanna.cs.rmit.EDU.AU (Richard A. O'Keefe) Subject: Re: Hungarian notation Date: 1996/06/11 Message-ID: <4pioot$kae@goanna.cs.rmit.EDU.AU>#1/1 X-Deja-AN: 159549846 references: <31999F43.41C67EA6@scn.de> <4p45kd$ea0@nntp.seflin.lib.fl.us> <4p5qsj$f2v@goanna.cs.rmit.EDU.AU> <4p9cia$9v3@nntp.seflin.lib.fl.us> organization: Comp Sci, RMIT, Melbourne, Australia newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel nntp-posting-user: ok Date: 1996-06-11T00:00:00+00:00 List-Id: This is my last response to Ralph "the indenting is all my own invention" Silverman before he goes into my killfile. z007400b@bcfreenet.seflin.lib.fl.us (Ralph Silverman) writes: >: Except in the smallest of student assignments, a programmer has >: to worry a *lot* about communicating with other *people*, and >: even in student assignments, a program that ``works'' is of >: little use if the teacher can't understand it. > generally; > if > students are writing code which works > and, which teachers can not understand > without comments, > then > something is wrong with the school!!! I see that Silverman doesn't pay a lot of attention to the details when reading English. He apparently didn't notice the scare quotes around ``works''. Students often hand code in, insisting that it ``works'', because no symptoms were produced on their PC. Run it on a UNIX system, and an instant segmentation violation often results. (Dereferencing NULL.) Or the assignment said that the program was supposed to work on UNIX, but it crashes with file names having more than 8 letters. In one case, a student insisted that his text justification program (I did not set that assignment) worked perfectly, until I pointed out that when I fed the program its own source code it produced weird results. As for teachers having to understand any random piece of code without comments, get real. Just last month a couple of students tried an old "International Obfuscated C Contest": program on me. It prints the lyrics of "The Twelve days of Christmas". I dug into it just far enough to prove that it wasn't legal standard C and handed it back. If it wasn't covered by privacy regulations, I would try some of our 2nd-year student code on you. It is clear Mr Silverman has no idea at all what student code can look like. -- Fifty years of programming language research, and we end up with C++ ??? Richard A. O'Keefe; http://www.cs.rmit.edu.au/~ok; RMIT Comp.Sci.