Can some explain this in a simple way?

Posted by subhash, 02-21-2011, 07:52 AM
Hello Guys, Can some body explain what exactly is "Hungarian Notation" in a simple term? Thanks for your valuable time, Kind Regards, Subhash Chandra S

Posted by bear, 02-21-2011, 08:31 AM
Though I'd normally abhor people being told to Google something, this is the #1 result: http://en.wikipedia.org/wiki/Hungarian_notation

Posted by subhash, 02-21-2011, 08:34 AM
Well bear, I have already googled it and found the same page. The reason why I posted it here on WHT is because someone can explain that in a "very simple" way since I have absolutely no idea of what it is. Any way thanks for the reply Bear

Posted by bear, 02-21-2011, 09:15 AM
Hmm, ok. "In Hungarian notation, a variable name starts with a group of lower-case letters which are mnemonics for the type or purpose of that variable, followed by whatever name the programmer has chosen; this last part is sometimes distinguished as the given name. The first character of the given name can be capitalised to separate it from the type indicators (see also CamelCase). Otherwise the case of this character denotes scope." Basically, the name starts with something that helps identify what it does, and can end in it's certain name, as in "var Emailxxxmyfunction" (or just emMyFunction, where em stands for email). Camel case means it's mixed caps and lower, with "humps" in the middle. Does that help?

Posted by subhash, 02-21-2011, 09:17 AM
Thanks Bear

Esta resposta lhe foi útil?

 Imprimir este Artigo

Veja também

Bluehost (Matt Heaton) gives back to the community

Posted by mrzippy, 03-28-2008, 11:14 AMhttp://mattheaton.com/?p=126 Thanks Matt. Posted...

PlanetDomain API - Frustrating - Waiting for almost a decade!

Posted by MrLeN, 09-21-2008, 10:55 AMI have been a PlanetDomain reseller for about 8 years or so...

need urgent help!

Posted by Jerenn, 07-17-2007, 07:54 AMI am really sorry cause I couldnt get where to make this...

Apache and extensions

Posted by attroll, 01-14-2008, 12:01 AMI have found a hole in one of my servers that someone else...

htaccess redirect dynamic URL to dynamic URL

Posted by Badie, 12-29-2007, 07:51 AMHi I have a page that show articles in my site , the url...