3 ms·
> That leads to a complete lack of error handling, because you've lost all of the relevant context of what you were trying to do. 20 years ago, maybe. These da
by acdha 7y ago
> That leads to a complete lack of error handling, because you've lost all of the relevant context of what you were trying to do.
20 years ago, maybe. These days every browser has a debugger which will automatically take you to the exact location with full context at every layer of the stack and tools like Sentry will collect and aggregate those reports even from devices you don’t control.
- monocasa 7y agoI'm not talking about ability to debug. I'm talking about the code handling errors gracefully. Also the world is a whole lot bigger than frontend dev.
- acdha 7y agoThis is an article about JavaScript where front-end work matters a lot directly and influences everything else. That widespread nature is also relevant to the question of whether you use the platform as intended or try to graft on semantics from very different environments. The latter approach has a track record of people spending more time maintaining ungainly hybrids than the imagined benefits saved.