Stop using Hungarian jQuery!

I’ve been in software development for long enough that I remember a time when Hungarian Notation was all the rage to write strFirstName, iAge and objPerson, I also remember it dying and dying for a good reason.
The rise of Hungarian jQueryThis is…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

I’ve been in software development for long enough that I remember a time when Hungarian Notation was all the rage to write strFirstName, iAge and objPerson, I also remember it dying and dying for a good reason. The rise of Hungarian jQueryThis is something that I’ve been noticing more and more in JavaScript code that I work with, code that looks like this: var $foo = $('.foo'); //do something with $foo Do you see what I’m referring to, the prefixing of $ onto a jQuery variable with the purpose of indicating that it’s a jQuery object.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2012-06-27T00:00:00+00:00) Stop using Hungarian jQuery!. Retrieved from https://www.scien.cx/2012/06/27/stop-using-hungarian-jquery/

MLA
" » Stop using Hungarian jQuery!." Posts on LINQ to Fail | Sciencx - Wednesday June 27, 2012, https://www.scien.cx/2012/06/27/stop-using-hungarian-jquery/
HARVARD
Posts on LINQ to Fail | Sciencx Wednesday June 27, 2012 » Stop using Hungarian jQuery!., viewed ,<https://www.scien.cx/2012/06/27/stop-using-hungarian-jquery/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Stop using Hungarian jQuery!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2012/06/27/stop-using-hungarian-jquery/
CHICAGO
" » Stop using Hungarian jQuery!." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2012/06/27/stop-using-hungarian-jquery/
IEEE
" » Stop using Hungarian jQuery!." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2012/06/27/stop-using-hungarian-jquery/. [Accessed: ]
rf:citation
» Stop using Hungarian jQuery! | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2012/06/27/stop-using-hungarian-jquery/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.