Hear hear, thank you jQuery! Thanks to John Resig and the hundreds of contributors for making web dev suck less and FUN! I still ♥ jQuery.
For some context, in the mid 90′s, JavaScript was a joke and CSS was but a glint. The table tag and style attribute was the foundation for all page layouts. If you’re responsible for creating emails you know the pain of the generation of developers before you.
As with internet time, every couple of years new libraries / frameworks solve a problem and becomes the new black. In turn, each will fade in the next cycle. Let’s look at Angular which was released in 2009. Fast forward 5 years: Angular sucks, Angular will fail. The total rewrite of Angular confirms it sucks. React was released in 2013 and is now all the rage. What’s on the horizon is 2 years that will supersede React?
Code is fleeting! All software is legacy. The future of JavaScript is still in the future - Bret Victor - The Future of Programming
Comments from HN:
brakmic 37 minutes ago
Whenever I hear "You don't need jQuery!" I immediately ask myself: is this guy/girl younger than 25?
simonw 10 minutes ago
If you were writing JavaScript 8 years ago, a library like jQuery was pretty much essential to help patch over the enormous numbers of browser bugs and differences between the various IEs, Firefox, Safari and Opera.
My experience is definitely that developers under 25 are much less likely to understand the historic context that jQuery came from, and hence have less respect for what it achieved (and continues to achieve).
Now back to Mike’s post!
jQuery I love you. We’ve been together for 10 years and that’s more than 50 years in JavaScript framework lifetimes. I might see you now less often than I did once, but I need you now no less than when we first met.
...
We don’t do $(document).ready() very much these days, but I still remember the good times we had. I also remember the pain I had trying to do this without you!
You were always there for me when things were tough. You made things consistent, how they should be, often without me even realising you were doing it. The web was a scary place and you brought order to it. You gave me confidence.
You were there for me too when I had no clue what I was doing. You helped me achieve things I would have never achieved on my own. In some ways, you made it too easy for me and I did some things I should have never done; I’m sorry, that was my fault not yours.
Shallow though it might be, I like the way you look. I can recognise your form anywhere. I love your neat and tidy closures and your chainable methods that keep me wanting more. I look upon you with comfort and familiarity. You always make me smile.
You are selfless. So selfless in fact, that you made me less reliant on you. You taught me how to think. And not just me, but the world around us has been shaped by your influence. Everytime I hear someone say “Native JavaScript” I smile and I think of you. You are so brilliant they needed a term to describe your absence. You have been my fearless leader and guiding light. That’s why I love you jQuery.
I wish those that didn’t know you as well as I do, would treat you with more respect. Younger suitors like Angular and React will come and go; some will make their mark and one day they might even be worthy of comparison. But you will always be my first love; my one true love.
It hurts me when I hear them say things like “you don’t need jQuery”. They don’t remember how dark it was before your light. We needed you then and we still need you now. I like the way you do things and although the years have passed, for certain tasks, you still do what you do better than anyone else could. I trust you. I know you and you know me. There will always be other ways we could do things, but I know I can rely on you and you’re always there when I need you to be.
So thank you jQuery! It’s been a wonderful 10 years. I hope we have another 10, but if we don’t it will always be with dignity and respect that I remember you and never less, because you do the perfect job of making yourself redundant. It is befitting that you do this so gracefully. If the time does come to say goodbye it will be because you have given us all that you can. To not be needed does not mean you will not forever be important to the me and the web.
Thank you jQuery.