Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Christopher Debove
Courses Plus Student 18,373 PointsjQuery dependency all over
Hello,
I was asking myself after seeing some JavaScript courses. Do they all depend on jQuery. I don't have anything against third-party libraries. But jQuery is for me the cancer of the web when coding new generation website.
Almost all (if it isn't all) is doable via vanilla JavaScript. I would hope to see more of pure JS workshops...
If there isn't do you know if there will be some in early future?
4 Answers
Steven Parker
243,134 PointsThere are plenty courses that use pure JavaScript.
I don't have any actual statistics, but I've taken many of the JavaScript courses, and I seem to recall that most of them used plain JavaScript. I mainly recall jQuery in the courses specifically about it, or ones on topics where it's pretty much standard practice (such as when doing AJAX).
But it's generally very useful for rapid development and creating compact code, so I'm curious why you would refer to it as "the cancer of the web".
Christopher Debove
Courses Plus Student 18,373 PointsFor many people jQuery is a way to not learn how to do things in plain JavaScript. For example AJAX like you said is a "standard" practice.
In my point of view, i'm mostly here to solidify the basics, and see more of the use and deep mechanisms of javascript. Like functional programing, observer/observable. Algorithm exercices.
Another example: There's a long course on OOP in JavaScript. But it's missing a courses on FP (immutability, filter, map, reduce, high order functions, etc...)
Steven Parker
243,134 PointsI do think I've seen at least some of the concepts you mentioned in courses here, but I don't recall which.
And I get your point about jQuery, I'd just never thought about it that way since I didn't learn it myself until I was already very familiar with JavaScript. But as I said, you'll find plenty JavaScript courses here that do not use jQuery.
Stuart Wright
41,120 PointsI agree that it's bad for people to try to learn jQuery before understanding programming/JavaScript fundamentals, but I don't think Treehouse promotes that at all. The Beginner JavaScript track has plenty of vanilla JS content before introducing jQuery near the end.
Christopher Debove
Courses Plus Student 18,373 PointsOh ok, i'll will figure later then. jQuery was the third course of Javascript in the track "Front-End Web Development" (after basics and loop/arrays/objects).
Yeah I didn't saw the JS Track so I was surprised to see jQuery before AJAX for example, or even some notions of ES6 in front-end track. But JS track seems more oriented on plain JS. I'll look for that after the front-end track. I'll hope to enjoy it. By the way I'm interested in all of the courses.