+ 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?
9 Réponses
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.
+ 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
+ 7
Anything can't done with js?
Maybe "Input mask"
There is jQuery input mask plug-in (while plug-in is library,what?)
+ 5
Thanks. I was hoping maybe it compiled faster or something. Trying to lessen the load time on some codes.
+ 4
Sounds like I just need to optimize my codes, but jQuery could still be useful in the future. Thanks,for the answers all.
+ 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 :)
+ 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!
+ 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
+ 1
@Very Hard I regret ever choosing that name ~^~