XPost: alt.folklore.computers   
   From: OFeem1987@teleworm.us   
      
   Niklas Karlsson wrote this post by blinking in Morse code:   
      
   > On 2026-01-05, rbowman wrote:   
   >>   
   >> You can really blame Microsoft for creating MFC; they had to wrap their C   
   >> API in something. You can blame them for DDE/OLE/COM, the ATl, and   
   >> adopting Hungarian notation.   
   >   
   > (I assume you meant "can't really blame" at the beginning there?)   
   >   
   > Time to dip into the quotes file again:   
   >   
   > Hungarian Notation is the tactical nuclear weapon of source code   
   > obfuscation techniques.   
   > -- Roedy Green   
      
   Agreed. The only warts I use are:   
      
    m_ A class member. But I often make an accessor function   
    without the "m_"   
    sm_ A static class member.   
    c_ A constant, not in a class..   
      
   Of course, there's no way in hell to get programmer's to agree on   
   coding conventions.   
      
   That's why I'm happy to work on my own now.   
      
   --   
   ... an anecdote from IBM's Yorktown Heights Research Center. When a   
   programmer used his new computer terminal, all was fine when he was sitting   
   down, but he couldn't log in to the system when he was standing up. That   
   behavior was 100 percent repeatable: he could always log in when sitting and   
   never when standing.   
      
   Most of us just sit back and marvel at such a story; how could that terminal   
   know whether the poor guy was sitting or standing? Good debuggers, though,   
   know that there has to be a reason. Electrical theories are the easiest to   
   hypothesize: was there a loose wire under the carpet, or problems with static   
   electricity? But electrical problems are rarely consistently reproducible.   
   An alert IBMer finally noticed that the problem was in the terminal's keyboard:   
   the tops of two keys were switched. When the programmer was seated he was a   
   touch typist and the problem went unnoticed, but when he stood he was led   
   astray by hunting and pecking.   
    -- "Programming Pearls" column, by Jon Bentley in CACM February 1985   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|