Re:Web workers are not the answer
by candiddevmike on Monday October 17, 2022 @06:02PM
(#33240084)
Only a junior developer deals in absolutes. Web workers are sometimes the answer, and if you can work within their constraints, will free up your main thread and speed up your SPA or rendering.
[ Parent
| on HN ]
Both authors have 8+ years of experience, so it does strike me as a controversial take for clicks & views.
Web workers definitely have their place to be useful. I think we can just take it as "Web workers weren't the right solution for this".
Still an interesting read.
Re:Web workers are not the answer
by soylentgraham on Monday October 17, 2022 @06:46PM
(#33240499)
I am appalled at the code I wrote when I was 8 years into the proffesion.
I would also be wary of any code I wrote after 16 years (though some I do... the very pure no dependency stuff!)
In 2 years that'll be 3x8 years and I hope to pass the audition.
Re:Web workers are not the answer
by whateveracct on Monday October 17, 2022 @06:51PM
(#33240544)
This is funny to me in a way. When I look at my very first few non-trivial Haskell projects, I still like the code. Are there ways to improve it? Things I've learned? Sure. But the code is still perfectly good and fine. Maybe things are just different outside the Turing Tarpit.
Well that's just you. Some of us got the gist of it a bit earlier. No shame in being a slow learner though.
Re:Web workers are not the answer
by coinbasetwwa on Monday October 17, 2022 @06:59PM
(#33240623)
Lol what? Plenty of senior devs, leads and managers deal in absolutes.
Re:Web workers are not the answer
by salazarm93 on Tuesday October 18, 2022 @12:33AM
(#33243013)
Hello It's Marco one of the developers. You're right, web workers absolutely have a spot in apps. That's actually why I thought to use them in the first place! In this case it turns out it wasn't necessary though. Sorry for the click bait title but I hope you could at least enjoy the article.