3 ms·
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 a
by candiddevmike 4y ago
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.
- m00x 4y agoBoth 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.
- soylentgraham 4y agoI 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.
- whateveracct 4y agoThis 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.
- m00x 4y agoWell that's just you. Some of us got the gist of it a bit earlier. No shame in being a slow learner though.
- coinbasetwwa 4y agoLol what? Plenty of senior devs, leads and managers deal in absolutes.
- salazarm93 4y agoHello 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.