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: fac41,af40e09e753872c X-Google-Attributes: gidfac41,public X-Google-Thread: 109fba,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,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: z007400b@bcfreenet.seflin.lib.fl.us (Ralph Silverman) Subject: Re: Hungarian notation Date: 1996/06/05 Message-ID: <4p45kd$ea0@nntp.seflin.lib.fl.us>#1/1 X-Deja-AN: 158597870 references: <31999F43.41C67EA6@scn.de> organization: SEFLIN Free-Net - Broward newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-06-05T00:00:00+00:00 List-Id: Peter Moylan (peter@fourier.newcastle.edu.au) wrote: : Andy Ho-Fan Chan (andyc@procom.com) wrote: : >In article <4o07o9$rfu@seagoon.newcastle.edu.au>, peter@tesla.newcastle.edu.au wrote: : >>I adopted a policy, years ago, of never agreeing to help : >>debug badly-documented code. When I'm asked questions like : >>"why doesn't my code work", my response is along the lines : >>of "come back after you've inserted the comments, and we'll : >>look at it then". Half the time they don't come back, : >>because they discover the error themselves while debugging : >>the comments. : >Well, I guess they just don't want to comment the code and don't come to ask : >you question anymore. I'm a student in CS, and I know what the students feel. : > When the project is dued soon and don't get the program works, do you still : >have time to comment to code? : No argument with this ... we all know that that's what the : students feel. Almost invariably, the reason given for : leaving out comments is "I don't have the time". : The real question, however, is this: if you have to get something : working quickly, do you still have time to NOT comment the code? : Or, to put it another way: would you rather spend half an : hour getting the comments right, or several days fighting : with the debugger? : This commenting business is not just an optional extra : to make your code look pretty. The main reason for doing : a good job on the commenting is that it helps you code : a lot _faster_. : But many students - particularly the weaker students : - never seem to learn this point. Show them the easy way : to get the job done, and they'll still stick stubbornly : to the hard way. : -- : Peter Moylan peter@ee.newcastle.edu.au : http://www.eng.newcastle.edu.au/ee/Moylan.html : OS/2 freeware list at : http://www.eng.newcastle.edu.au/ee/Moylan/os2/os2info.html -- **********begin r.s. response*********** in developing software code one must satisfy a compiler or such... would it not be preferable to develop patterns of thought that work with the system than with the arbitrary preferences of a teacher! **********end r.s. response************* Ralph Silverman z007400b@bcfreenet.seflin.lib.fl.us