opinions on hungary notation

R

Richard Bos

Serve La said:
The mindless type prefixing yes. I was under the impression that the
hungarian type prefixing was seen as pretty useless nowadays but at work
people want to introduce a coding guideline that forces us to use hungarian.
I pointed them to joel´s article already but it didnt convince them. Are
there actual advantages to using hungarian?

A couple of years or so ago you would have been Mickeysoft-compliant,
but even that is no longer true. _Even_ Microsoft seem to have kicked
the Hungarian illness.

Richard
 
R

Richard Bos

Keith Thompson said:
I wonder if there are lint-like tools that check for consistent
Hungarian notation.

Possibly, but they'd need considerable help.

Richard
 
R

Richard Bos

REH said:
That's called "camel hump." I alternate between loving and hating it
(currently set to hating).

Personally, I'm funny this way[1]: I tend to use underscores in
identifiers which start with a lower case letter or which are all-caps,
but CamelCasing in identifiers which are underscore but start with a
capital. Usually, that's almost all normal ones plus macros for
underscores, and only enum members and typedefs for CamelCase.

Richard

[1] Yes, you at the back, I know. No need to comment; we all know what
you wanted to say already.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top