DEV Community

loading...

Discussion on: JQuery Footguns?

Collapse
rhymes profile image
rhymes

One thing I just remembered:

I used to use a convention to distinguish jQuery objects from regular variables, stuff like var $textBox = $("#textBox"). Don't know if it still makese sense but it did at the time :D

Collapse
peiche profile image
Paul

I've also been doing this for a long time. It's very handy.

Collapse
deciduously profile image
Ben Lovy Author

Oh, I like that a lot. Most likely stealing this.