Other than syntax shortcuts, why learn jQuery? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Other than syntax shortcuts, why learn jQuery?

I'm learning it either way. Just curious if there is anything extra or different that you can't do with normal js, or any special reason why it is specifically better?

4th Jun 2017, 6:52 AM
Russel Reeder
Russel Reeder - avatar
9 Answers
0
I think while there may be some performance hit, depending on the size of your project, Jquery is a very useful tool. JavaScript as a language, has a number of pitfalls and it's extremely easy to make mistakes. It's often the case you spend more time debugging when programming than doing anything else. For that reason it's important not to overlook the benefits of producing the intended effect with much less code which is easier to understand and maintain. So it's a question of optimizing load Time over optimizing development time.
3rd Jul 2017, 6:49 PM
Aaron
Aaron - avatar
+ 9
@C0MPL3X name changed? LoL jQuery is certainly slower than javascript with the reason of too many function Too much function that we don't need to use
4th Jun 2017, 7:54 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 7
Anything can't done with js? Maybe "Input mask" There is jQuery input mask plug-in (while plug-in is library,what?)
4th Jun 2017, 7:50 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 5
Thanks. I was hoping maybe it compiled faster or something. Trying to lessen the load time on some codes.
4th Jun 2017, 7:48 AM
Russel Reeder
Russel Reeder - avatar
+ 4
Sounds like I just need to optimize my codes, but jQuery could still be useful in the future. Thanks,for the answers all.
4th Jun 2017, 7:57 AM
Russel Reeder
Russel Reeder - avatar
+ 2
Hmm, I'm not sure about how fast or is it faster than JavaScript, but if you already know JavaScript (well) you could hop in jQuery :)
4th Jun 2017, 7:49 AM
Complex
Complex - avatar
+ 2
jquery can be useful for profesional web desiner to write code faster. jquery makes web pages eavier to download, slowlier to load, herder to read. i finished the course and never used it, as you said it is just a differen syntax!
4th Jun 2017, 7:52 AM
Emore Anzolin
Emore Anzolin - avatar
+ 1
It makes animation easily just like Ruby, In some languages you have to do: for(i = str.len(); i > 0; i--) { cout << str[i]; } but in Ruby you could just do str.reverse! In a nutshell: Because jQuery is easier. But dont make any mistake, Learn JavaScript first
4th Jun 2017, 7:45 AM
Complex
Complex - avatar
+ 1
@Very Hard I regret ever choosing that name ~^~
4th Jun 2017, 8:04 AM
Complex
Complex - avatar