11 ms·
The main thing a language can do for you is prevent the situation where the thing crashes in production and you have no idea why.
by Animats 10y ago
The main thing a language can do for you is prevent the situation where the thing crashes in production and you have no idea why.
- jcoffland 10y agoLet me guess, you're a Rust programmer.
- cousin_it 10y agoI think Java does it better than Rust, because in Java you can see who threw the exception, but in Rust you can't see who originated the empty Result.
- taneq 10y agoIn general I'd argue that that's a tooling issue rather than a language issue - it should be possible in theory to provide tooling for any language that will give you a sufficiently detailed crash dump to diagnose the problem. In practice, very few languages do so, and the ones that do so require a fair bit of work to set up, which is really annoying. The only thing worse than being told "but it worked on my computer" is being the one actually saying the phrase!