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.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,af40e09e753872c X-Google-Attributes: gidfac41,public X-Google-Thread: 109fba,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,public X-Google-Thread: f8c65,30e368bdb3310fe5 X-Google-Attributes: gidf8c65,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public X-Google-Thread: 10db24,30e368bdb3310fe5 X-Google-Attributes: gid10db24,public X-Google-Thread: 1008e3,30e368bdb3310fe5 X-Google-Attributes: gid1008e3,public From: cwr@cts.com (Will Rose) Subject: Re: Hungarian notation Date: 1996/06/11 Message-ID: <4pjkhc$pjo@news3.cts.com>#1/1 X-Deja-AN: 159592036 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> <4pioot$kae@goanna.cs.rmit.EDU.AU> organization: CTS Network Services (CTSNET), San Diego, CA followup-to: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-06-11T00:00:00+00:00 List-Id: Richard A. O'Keefe (ok@goanna.cs.rmit.EDU.AU) wrote: [...] : 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. One partial cure for this, since I think most Unix systems have lint somewhere, would be to feed the code through lint and ask the students to explain and comment the subsequent listing. On badly-written programs, lint can get really tedious. Personally, I just don't program C without it, though. Life's too short. Will cwr@crash.cts.com