Hacker News new | ask | show | jobs
by mankz 3004 days ago
You could, but the point is that the stacktrace is useless in most apps (unless you have stateless minimalist website). As soon as you make a web app and you have state - stacktrace doesn't help reproduce the bug.
1 comments

> As soon as you make a web app and you have state - stacktrace doesn't help reproduce the bug.

It does in a reasonable language. That's my point.

What's an example of a reasonable language that has state? I figured you had to be thinking of a pure functional language.
Python, Ruby... the concern isn't so much state as that it throws the exception where the mistake actually happens instead of failing silently.