Re: Hungarian Notation




I'm pretty sure I've already made this very clear a number of times

You have, but you're missing my point. How do **I** know you only use a dozen prefixes? You know that, because it's your code. You know how to read your HN, but that skill doesn't transfer. Until I learn what they are, I don't know what all your prefixes mean. I don't know which objects don't get them (there are more than a dozen types of controls, and how do I know you only use it for controls?). If you start reading Eric's or Dave's code you will have the same problems. You have to learn the scheme anew each time.


But in all the code written by others I've ever looked at, I've never had a problem figuring out such prefixes as these.

But if they used fuller names, there'd be no figuring out to do :-) It's still harder because you do have to guess, even though individual guesses might be easy sometimes.


And all this is just on reading the code :-) You have more of a problem when you start modifying it, because then you have to learn the prefixes you haven't seen yet. But that's another story :-)



Cheers,
Jim Cooper

__________________________________________

Jim Cooper    jcooper@xxxxxxxxxxxxx
Tabdee Ltd    http://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__________________________________________
.



Relevant Pages

  • Re: Hungarian Notation
    ... It seems inconsistent, and he isn't ... Your argument would have a lot more weight if I used some silly prefixes, ... edit controls. ... Compared to many other things one has to do to familiarize oneself with ...
    (borland.public.delphi.non-technical)
  • Re: Hungarian Notation
    ... > think that learning that many abbreviations is easy? ... not advocate a different prefix for every possible control variant. ... different prefixes in my code including query and datasource components. ... > *do* find reading HN harder. ...
    (borland.public.delphi.non-technical)
  • Re: Hungarian Notation
    ... a whole lot more trouble to read, as it requires actual reading of the whole code, while aligned & prefixed code can be understood with a partial reading. ... Also there is the perennial problem that in any significant OO system there are far, far too many classes/types/interfaces for it to be sensible to have prefixes for all of them. ... Jim Cooper jcooper@xxxxxxxxxxxxx ...
    (borland.public.delphi.non-technical)