POV-Ray : Newsgroups : povray.off-topic : Hungarian notation : Hungarian notation Server Time
4 Sep 2024 01:18:55 EDT (-0400)
  Hungarian notation  
From: Darren New
Date: 4 Jun 2010 15:51:08
Message: <4c09592c$1@news.povray.org>
OK, I officially hate it.

In this crap codebase, people used a bunch of hungarian notation, then 
changed types around without fixing all the names.

So we have bunches of declarations like
   char * ulXYZ;
   unsigned char ulPDQ;
   long* pszABC;

Gah. It's worse than useless noise. It's useless wrong noise, that even 
makes the useful noise suspect enough to be useless.

If your IDE isn't good enough to tell you the type of the variable, it's not 
good enough to help you rename it when you change the type.

I think the same goes for putting "m" or "g" or whatever in for member or 
global variables, etc.

-- 
Darren New, San Diego CA, USA (PST)
    Eiffel - The language that lets you specify exactly
    that the code does what you think it does, even if
    it doesn't do what you wanted.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.