Re:Lines of code that changed everything
by sandinmyjoints on Wednesday November 27, 2019 @03:00PM
(#21651471)
It’s significant, for sure, but I’d probably go with XMLHttpRequest as even more significant for web apps.
I'd almost say jQuery pasting over the inconsistencies is what made XMLHttpRequest and AJAX in general the killer feature it became.
Re:Lines of code that changed everything
by Groxx on Wednesday November 27, 2019 @03:46PM
(#21651928)
yea. swap out roomba routing (srsly?) and replace it with "jquery made dynamic websites economically feasible" which led to practically the entire internet becoming dynamic in some form.
Is "roomba routing" an industry term? I couldn't find it from a Google search, but I like it.
Re:Lines of code that changed everything
by espionn on Thursday November 28, 2019 @12:57AM
(#21654948)
He's just talking about how the article lists 'Roomba Routing' as a 'Line of Code that changed everything'
Re:Lines of code that changed everything
by Antoninus on Wednesday November 27, 2019 @10:50PM
(#21654449)
A big moment for me was seeing google maps for the first time around 2008. I had just finished school and knew that I had to write programs using this technology.
Re:Lines of code that changed everything
by HNLurker2 on Wednesday November 27, 2019 @11:48PM
(#21654645)
> knew that I had to write programs using this technology
Well now you don't
Re:Lines of code that changed everything
by NullPrefix on Wednesday November 27, 2019 @09:50PM
(#21654246)
I'd say jQuery forcing people to actually learn XMLHttpRequest by leaking memory on each request was a killer feature.
Re:Lines of code that changed everything
by NullPrefix on Thursday November 28, 2019 @12:48AM
(#21654906)
Downvote me all you want.
Re:Lines of code that changed everything
by why_only_15 on Thursday November 28, 2019 @01:00PM
(#21659124)
Looks like this is only in internet explorer and was clearly not a priority issue for anyone
Re:Lines of code that changed everything
by NullPrefix on Thursday November 28, 2019 @07:47PM
(#21661120)
>only in internet explorer
Main advantage was unified experience across all browsers.
>[memory leak on each request] not a priority issue for anyone
Exactly my point.
Re:Lines of code that changed everything
by WilliamEdward on Thursday November 28, 2019 @04:46AM
(#21655885)
I make webpages without JQuery... what's the big deal? Am I missing out on something serious?
Re:Lines of code that changed everything
by bootloop on Thursday November 28, 2019 @06:09AM
(#21656272)
This is about history. Nowadays it's not a big deal as the browser engines and JS adapted.
I'd go even further and say:
document.write(...)
The birth of Javascript in 10 days has fundamentally and permanently changed the nature of the web, in ways that nobody could anticipate. We now have technology where you can compile C++ down to a JS/HTML target, which in any other world would sound utterly mad.>If it wasn't for jQuery, =no one would be programming web applications the way we do today=. jQuery was THE single advancement in creating the modern web.
Excellent!! You'd be surprised that not everyone agrees with the idea of browsers becoming their own micro-OS.
Re:Lines of code that changed everything
by handoff on Thursday November 28, 2019 @04:18AM
(#21655759)
oh man that brings back memories... I think people nowadays vilify it just because it's cool to bash jQuery but without it, the web wouldn't be where it is now.
Re:Lines of code that changed everything
by davidjnelson on Thursday November 28, 2019 @12:37PM
(#21658961)
That was important, sure, but cgi was way earlier.
Re:Lines of code that changed everything
by TurkishPoptart on Wednesday November 27, 2019 @05:11PM
(#21652674)
You're not wrong, but did this really require a throwaway account?
Re:Lines of code that changed everything
by thrownaway954 on Wednesday November 27, 2019 @05:14PM
(#21652706)
why does that even matter?
Re:Lines of code that changed everything
by TurkishPoptart on Wednesday November 27, 2019 @05:21PM
(#21652751)
Because throwaway accounts are usually made by people who want to share something personal and don't want it tied to their public/internet/work persona. So it made me think you work for a FAANG where everyone has to pretend they love React/Angular/etc, and you didn't want to catch any flak for it.
Re:Lines of code that changed everything
by codingdave on Wednesday November 27, 2019 @05:38PM
(#21652871)
If you click on someone's name, it will show you their profile, and you can see that you are not talking to a throwaway account, even if the word is in their username.
$(document).ready(function(){});
If it wasn't for jQuery, no one would be programming web applications the way we do today. jQuery was THE single advancement in creating the modern web.