Re: Hungarian Notation




"Jim Cooper" <jcooper@xxxxxxxxxxxxx> wrote in message
news:42555c9e$1@xxxxxxxxxxxxxxxxxxxxxxxxx
>
>> But one does not always look at code within the bounds of an IDE. ;-)
>
> All the more reason to use clear unambiguous names (ie *not* Hungarian
> notation) since if it is hard to look up qzFurbleGloop you are going to
> struggle even more to understand the code.

Which is why 2 letters isn't enough for a prefix. 3 or 4 is preferable, then
q(ui)zFurbleGloop becomes something much more understandable

>
> If we follow normal Delphi coding conventions, we all use some HN (eg F
> for fields and T for class), but we should try to keep that sort of thing
> to a minimum.

I kinda disagree. I find Hungarian Notation very readable. But then I have
done a lot of C ;-)

Best,
Dave
>
> Cheers,
> Jim Cooper
>
> __________________________________________
>
> Jim Cooper jcooper@xxxxxxxxxxxxx
> Tabdee Ltd http://www.tabdee.ltd.uk
>
> TurboSync - Connecting Delphi to your Palm
> __________________________________________


.



Relevant Pages

  • Re: Why has hungarian notation been abandoned?
    ... > reason for them capitalizing all functions and classes and not using ... > hungarian notation? ... Hungarian notation is from the early days where type information wasn't ... the exception of 'variable: iMyInteger'. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [PATCH 2/7] Initial implementation of the trec driver and include files
    ... ``Encoding the type of a function into the name (so-called Hungarian ... notation) is brain damaged - the compiler knows the types anyway and can ...
    (Linux-Kernel)
  • Re: O.T.
    ... [Hungarian Notation] ... Ich nutze tatsächlich Ungarische Notation bei privaten eigenen ... Prev by Date: ... Next by Date: ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Hungarian Notation
    ... let me say the final and conclusive words on this: Hungarian ... >> notation is an abomination. ...
    (borland.public.delphi.non-technical)
  • Re: Linked List Issue
    ... Hungarian or CamelCase? ... Hungarian Notation is certainly inappropriate for C++ and other ... any place in untyped languages or weakly typed ones without adequate ...
    (alt.comp.lang.learn.c-cpp)

Loading