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
Post a Comment