language agnostic - Why shouldn't I use "Hungarian Notation"? -


i know hungarian refers - giving information variable, parameter, or type prefix name. seems rabidly against it, though in cases seems idea. if feel useful information being imparted, why shouldn't put right there it's available?

see also: do people use hungarian naming conventions in real world?

most people use hungarian notation in wrong way , getting wrong results.

read excellent article joel spolsky: making wrong code wrong.

in short, hungarian notation prefix variable names type (string) (systems hungarian) bad because it's useless.

hungarian notation intended author prefix variable name kind (using joel's example: safe string or unsafe string), called apps hungarian has uses , still valuable.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -