Re:Add limits to amount of JavaScript that can be loaded by ...
by kstrauser on Wednesday January 30, 2019 @02:41PM
(#19038570)
I agree. I don't do frontend stuff, but I sit next to the team that does. They take a lot of pride in making fast-loading pages that render quickly and respond instantly. That's not compatible with writing giant, bloated, inefficient code.
Re:Add limits to amount of JavaScript that can be loaded by ...
by vezycash on Wednesday January 30, 2019 @02:46PM
(#19038628)
>They take a lot of pride in making fast-loading pages that render quickly and respond instantly.
Maybe in your company. My experience browsing modern front-end SPA design however begs to differ. They pride themselves in loading megabytes of uncompressed images, layers of invisible background images, frameworks to load frameworks, auto-download/auto-playing 4k videos...
Re:Add limits to amount of JavaScript that can be loaded by ...
by seattle_spring on Wednesday January 30, 2019 @03:18PM
(#19038990)
No one prides themselves on any of those things.
Re:Add limits to amount of JavaScript that can be loaded by ...
by chris_wot on Wednesday January 30, 2019 @03:50PM
(#19039319)
And yet they still do it.
Re:Add limits to amount of JavaScript that can be loaded by ...
by choochootrain on Wednesday January 30, 2019 @04:14PM
(#19039575)
i agree with you but you have to keep in mind that pages which load fast on a fiber connection and render and respond quickly on the latest macbook don't guarantee the same for the average user.
giving devs 4 year old laptops would help but when shiny startup is offering new macbooks how can you compete?
Re:Add limits to amount of JavaScript that can be loaded by ...
by pbhjpbhj on Wednesday January 30, 2019 @04:44PM
(#19039876)
Giving devs 4yo laptops when they only need then for testing seems, erm, strange, limiting.
Just have them test under processing and bandwidth limits?
Re:Add limits to amount of JavaScript that can be loaded by ...
by shados on Wednesday January 30, 2019 @04:00PM
(#19039418)
Definitely can't generalize, but the average macbook pro sporting web dev often forgets what their users deal with. I had conversations at work where I pointed out the data we had on our users (and how they weren't even close to having that kind of hardware and internet connection), and no one would believe me until they saw the data themselves.
Not sure how I feel about a statement this broad. I work mostly with front end code and I try neat things and tricks to reduce resource use all the time. I also always push for the lightest way of doing things in PRs. I’m certain I’m not the only engineer who thinks like this.