Jeffrey J Way
Member since Dec 10, 2009
- Profile: /members/4934-jeffrey-j-way.htm
- URL: http://net.tutsplus.com
- Comments: 3
Recent Blog Comments By Jeffrey J Way
-
Using $Variable In jQuery Code Is Just Hungarian Notation
Posted on Dec 10, 2009 at 12:32 PM
True - valid point. Lots to think about. :)... read more »
-
Using $Variable In jQuery Code Is Just Hungarian Notation
Posted on Dec 10, 2009 at 12:22 PM
"I would have to ask why a jQuery selector variable is any more important than other variables? Or rather, why are you scanning code looking for jQuery selector variables?" Because it reminds you that you have access to jQuery's methods, when you come back to the project months later. At least tha... read more »
-
Using $Variable In jQuery Code Is Just Hungarian Notation
Posted on Dec 10, 2009 at 12:20 PM
Interesting read, Ben. I agree that its only usage would be for emotional reasons, but that's not a bad thing. You mentioned that you don't use the $-prefix approach anymore; is there a specific reason why, other than the fact that it technically conforms to the Hungarian notation method? As Elija... read more »