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.2 required=5.0 tests=BAYES_00,FROM_ADDR_WS, 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: 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: jeffos2@randomc.com [Jeffery Swagger] Subject: Re: Hungarian notation Date: 1996/05/23 Message-ID: #1/1 X-Deja-AN: 156757899 distribution: world references: <4adem2$b5s@mercury.IntNet.net> <4n6off$6e2@mikasa.iol.it> <3198F30F.2A2@zurich.ibm.com> <4nsg3f$liu@solutions.solon.com> <31a3b322.442404233@sqarc> <4o19k3$o4b@goanna.cs.rmit.EDU.AU> <4o1ilm$1b0@news.enter.net> organization: What? Me organized? You gotta be kidding! reply-to: jeffos2@randomc.com [Jeffery Swagger] newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-05-23T00:00:00+00:00 List-Id: In <4o1ilm$1b0@news.enter.net>, garyl@enter.net (Train) writes: >In article <4o19k3$o4b@goanna.cs.rmit.EDU.AU>, >ok@goanna.cs.rmit.EDU.AU says... > >hI rarely comment, but .... >I have been teaching for over 30 years and programming since 1960. >During >that time I've seen a lot of code an d blessed/cursed others depending >on how >easy it was to understand the code. The Micro$loth conventions have >made >it extremely difficult to pick up a snippet of code and understand >what's going >on -- unless you are part of that team (maybe 1000 programmers?). >How >else would they coordinate? >At IBM in the early '60s we had the same problem and "rules" were >develeped to handle it. One I remember was that 75% of all code >must have comments. This lead to lines of code saying ST R4,7 >(figure it out) with a comment of "Store 7 in register 4." As you can >*snip* Ahh, now I see why OS/360 was soooo buggy.:-) Storing the *contents* of R4 at location 7 probably isn't exactly what you wanted to do here. Perhaps something like: LA R4,7 Load R4 with 7 But seriously, I am in complete agreement with the point of your post that blindly adhering to rules does nothing to improve the code quality. ----- Jeffery Swagger "IBM has customers to debug the code for them"