5 ms·
jQuery might not be the fancy new hotness on the block, but it still works and is still used. I get the feeling more and more that developers are embarrassed a
by darrelld 10y ago
jQuery might not be the fancy new hotness on the block, but it still works and is still used.
I get the feeling more and more that developers are embarrassed about using it, similar to how some devs are embarrassed about using PHP, yet it's still a workhorse.
- labster 10y agoPHP should be significantly more embarrassing than jQuery. The jQuery interface is well designed and reliable. The fact that it still works is important. As long as I've got clients asking for IE 8 support, jQuery's going to be in my toolbox. And probably even after.
- tjons 10y agoOuch. PHP dev here. We write design-pattern-influenced code with classes, abstract classes, DI, interfaces, etc. It's not all bad.
- brandon272 10y agoYou know, it's been well over a decade of seeing the anti-PHP stuff and I still have yet to see a "PHP is evil" argument that doesn't fall apart after a little scrutiny. I proudly use it and am happy to look at it's usage vs. alternative languages in any of the real-world projects I've developed.
- markplindsay 10y agoReact (plus a couple shims) works great with IE8 up until v15.
- fetbaffe 10y agoPHP has a renaissance now, nothing embarrassing at all.
- toadkicker 10y agoIt's really silly that is how the culture behaves. The right tool for the job is a common moniker in other industries, yet in ours its the source of heated debate and hipsterdom.
- marcosdumay 10y agoPHP is some tool that was never really good, but had some compelling features that no other tools provided. Except that now there are better tools for any task it solved, excluding the task of "maintaining a PHP codebase". If you are starting a new project on it, you should indeed feel silly.
- zelon88 10y agoI disagree. Let's try adding 0.2 and 0.3 with the JScript library of your choosing and see if it's any easier than PHP.
- hood_syntax 10y agoFloating point math has been around for a very long time, I don't get why that's what you would pick as a problem; a lot of languages have the same behavior. I'm not a fan of JS either, so you don't have to give me a reason to dislike it.
- zelon88 10y agoI wasn't necessarily giving you a reason to dislike it. I was giving you a reason why I personally believe it to be over-hyped and convoluted (and why I disagree that PHP is embarrassing by comparison). I picked floating point math as a problem because JScript would give you an incorrect answer.
- marcosdumay 10y agoJavascript being bad does not make PHP any better. There are more than 2 languages available for backend programming. Some even get both templating and IO right.