DEV Community

Discussion on: I Need jQuery

Collapse
remejuan profile image
Reme Le Hane

So you would rather load in 100kb of vanilla js, so that you can use $ instead of just using vanilla js... So glad I don't work with you...

Collapse
bgadrian profile image
Adrian B.G.

You are clearly too narrow minded to have a conversation, so no use to reply, and you didn't even read my message.
I think the author didn't presented the advantages of jQuery (poor selection of examples), and by your example clearly you don't know what jQuery is composed of (the sizzle, selector is only a small part of it).

Thread Thread
remejuan profile image
Reme Le Hane

As a developer of almost 15 years, it's been at least 8 since I used jQuery, while it can potentially add value, that is far offset by the cost of its inclusion, 100% of which can very easily be done without it, if you are a competent developer.

Thread Thread
chocolim profile image
Choco Lim

If you start to do your own js, it will work in a very competent way, until a browser update with a new standard. If you use jQuery or other maybe you have only to update the library and not rework it for all diferent browsers. (sorry for my bad english)

Thread Thread
remejuan profile image
Reme Le Hane

Or more likely because you now have a hard dependacy on a boat load of code you never needed, that upgrade comes with breaking changes doing more harm and wasting more time than if you had just done it properly from the start.

Its your slow underperforming website, not mine.

Thread Thread
chocolim profile image
Choco Lim

Why use a sdk if you can write assembler code rigth?

Thread Thread
remejuan profile image
Reme Le Hane

Ya, you clearly do not understand cost value analysis, while I at no point said jQuery does not add value, in the vast majority of implications the cost far exceeds the value.

I write high performance we applications, up until the day I come across an application that will make 100% utilisation of every feature jQuery has, then all its doing is slowing down my application with code I DO NOT NEED AND CANNOT EXCLUDE.

Every application I wrote only ever has the code it needs, nothing more. Performance is king, no wasted wasted space, no unnecessary bloat.

Thread Thread
chocolim profile image
Choco Lim

I do understand actually, but since I am not programing a kernel module using jquery, I am ok with it.

Thread Thread
bgadrian profile image
Adrian B.G.

You clearly haven't used a profiler to compare how a 40kb code that is not executed improves your performance. You just throwing big words or your websites has to run on fridges and TVs.