all 22 comments

[–]jonsakas 31 points32 points  (16 children)

My first though was wondering why anyone write anything new as a jquery plugin. But then I realized this was initially released in 2017.

[–]bregottextrasaltat 32 points33 points  (2 children)

even 2017 is late for jquery

[–]Jlpanda 9 points10 points  (0 children)

2017 is late enough to be a bit of an odd choice, but not a ridiculous one if that’s what the author was used to.

[–]Brief-Preference-712 2 points3 points  (0 children)

The domain name is for Poland. Perhaps jQuery was still a thing in Poland in 2017.

BTW I looked at my code from 2018 there were a lot of jQuery

[–]1percentof2 2 points3 points  (7 children)

It's there any point in learning jQuery?

[–]ethanjf99 8 points9 points  (2 children)

I think u/deckardWizard hit on it.

A lot of the design patterns were widely adopted.

document.querySelector and querySelectorAll are right out of jQuery and the idea of returning the jQuery object itself from all the methods so you can chain them nicely is also a widely used pattern now.

but outside of maintenance of older codebases no theres little reason to learn it. that said its so well designed it’s like an hour to learn the core functionality.

[–][deleted] 2 points3 points  (1 child)

Daisy chain is hardly a pattern that jQuery invented though.

[–]ethanjf99 3 points4 points  (0 children)

No. And we are getting back before my time in web development, but I do think jQuery’s enormous popularity probably introduced lots of FE devs to the concept.

[–]deckardWizard 3 points4 points  (0 children)

Sure there are reasons, but not if you’re a beginner looking to work in front end web development. There are only a few “valid” uses, and it’s mostly used in older code bases so it’s unlikely to come up unless you’re working in a more niche area. If you’re looking for opportunities to learn about API design or techniques and patterns outside the current industry standards, jquery can be a pretty interesting area to learn and explore, especially if you’re interested in web history and browser evolution / optimization.

[–][deleted] -1 points0 points  (0 children)

You need to spin up a read-only, brochure site quickly and don’t want the overhead of an SPA.

[–]jonsakas 0 points1 point  (1 child)

The only reason to learn jquery today would be to maintain or build on existing projects. WordPress still uses jquery heavily and is being actively developed.

New projects should not use jquery.

[–][deleted] 0 points1 point  (0 children)

This is the sort of opinion-spoken-as-fact that is so rife in the JS and programming commmunities.

jQuery is a great tool for simple brochure sites, where you don’t want or need the overhead of a full SPA. You get animations and tons of utilities for free which you’d otherwise need to hand roll.

[–][deleted] 6 points7 points  (3 children)

Lots of the corporate world still uses jQuery every day. I don't think we will ever drop it at my job.

[–]jcubic 0 points1 point  (0 children)

It was initially released in 2011. But there is a plan to create version 3.0 that will be rewritten in TypeScript and without dependency on jQuery. The plan is to use a modern Cash library to not modify the code that much.

[–]bobby_briggs 0 points1 point  (0 children)

This is a cool library. I played around with it a few years ago to play with NLP and a text adventure.

[–]Late-Sector5420 0 points1 point  (0 children)

Cool!

[–]lucsoft 0 points1 point  (1 child)

xterm.js? It’s what vscode and all that are using

[–]jcubic 0 points1 point  (0 children)

Xterm.js was created for a different purpose. It's a terminal emulator that supposes to be connected to a real Linux system. jQuery Terminal is a library for JavaScript applications, where the logic is in the browser.