in reply to Re^3: coding rules
in thread coding rules

Recall "Hungarian notation", by which means one prefixes the "real" name with a series of characters that encode the data type.

Actually, that's apparently a common misconception (and I'm guilty of it as well :) in what Hungarian notation was supposed to be. There's an interesting post on this over on "Joel On Software" just recently.

Update: Oh, yeah I agree "Systems Hungarian" is bad and that's what's being advocated by the OP. But it's worth noting that such approaches are an aberration of the original concept (thanks again, M$) and the underlying idea itself has merit.

--
We're looking for people in ATL

Replies are listed 'Best First'.
Re^5: coding rules
by herveus (Prior) on Jun 09, 2005 at 14:04 UTC
    Howdy!

    Having read Joel's column, I stand by my assertion, in that it reflects what came to be. Simonyi's original intent and usage was quite reasonable in that the notations were meant to help understand the usage of the variables in functional terms, not "raw data type".

    The "Systems Hungarian" that sprang from the fetid brains of documentation miswriters is the form I invoke as the bogeyman, having been ignorant of the original intent.

    Item 6 from the orignal post (and to a fair extent item 5 as well) both advocated a "Systems Hungarian" treatment, which adds little to no value. One could use different classes to keep the different domains distinct, although that could add it's own extra baggage.

    yours,
    Michael