News for hackers. Stuff that matters.
Re:Learn PHP – Free interactive PHP tutorial by easy_rider on Tuesday November 26, 2013 @09:31AM (#6801406)
That's so funny. When I look at $'s in PHP, it feels so natural. Then when I see someone use $ in variable names in JS, it gets me agitated.
Re:Learn PHP – Free interactive PHP tutorial by ceejayoz on Tuesday November 26, 2013 @11:59AM (#6802513)
I typically reserve $ in JS variable names for a version of something that's jQuery-ified. i.e. $(this) = $this;