One of my clients loads a 4.5 Mb bower.js (including Angular with a lot of components and jQuery), they also include an extra jQuery script, a full jQuery UI and several other scripts on each pageload . Nothing is minimized. The bower file alone has 300k in comments. The CSS file is also nearly 1 Mb. It's just a simple website with some forms. They have 2 developers working on the site, a scrum master, a project mana…
A day without JavaScript
11–20 of 412 posts
Re: A day without JavaScript
#12Re: A day without JavaScript
#13Re: A day without JavaScript
#14I found that Google actually works better without Javascript. It's much more like the Google of old (c.1998). One significant enhancement (w/o JS) is that you can type something in the search bar without losing your current results while you're typing.
Re: A day without JavaScript
#15I generally agree with what he is saying, but the web has moved beyond the point where its reasonable to expect websites to have JS fallbacks. It is just too prominent now a days. I've always been a JS hater, though I have to code it frequently.. However, with that said I find the arguments against the language becoming more and more obsolete as the years go on.
Now add the fact that:
- the ecosystem is exploding like a holy grenade, only not as funny
- having to learn what "rebinding this in the closure's callback" is still core to the path to the language understanding.
- you have so many ways to do things, especially asynchronously, and yet no simple way to do simple stuff like removing an item from an array
- pre-processors are used everywhere and you have so many of them
- safari is becoming the new IE6
We are still very much paying the price of the terrible language that is Javascript.
Re: A day without JavaScript
#16I generally agree with what he is saying, but the web has moved beyond the point where its reasonable to expect websites to have JS fallbacks. It is just too prominent now a days. I've always been a JS hater, though I have to code it frequently.. However, with that said I find the arguments against the language becoming more and more obsolete as the years go on.
Re: A day without JavaScript
#17One of my clients loads a 4.5 Mb bower.js (including Angular with a lot of components and jQuery), they also include an extra jQuery script, a full jQuery UI and several other scripts on each pageload . Nothing is minimized. The bower file alone has 300k in comments. The CSS file is also nearly 1 Mb. It's just a simple website with some forms. They have 2 developers working on the site, a scrum master, a project mana…
Re: A day without JavaScript
#18Re: A day without JavaScript
#19I generally agree with what he is saying, but the web has moved beyond the point where its reasonable to expect websites to have JS fallbacks. It is just too prominent now a days. I've always been a JS hater, though I have to code it frequently.. However, with that said I find the arguments against the language becoming more and more obsolete as the years go on.
For people with powerful smartphones and reliable internet, this may be true.
Let me point you to: https://danluu.com/web-bloat/ (discussion: https://news.ycombinator.com/item?id=13601451 )