4 ms·
Stacktraces are not useful for end users of the program and should never be shown unless there is a bug in the program. It is silly how many Java or Python pro
by pkolaczk 3y ago
Stacktraces are not useful for end users of the program and should never be shown unless there is a bug in the program.
It is silly how many Java or Python programs display stacktraces on trivially preventable problems that are not bugs (e.g. file not found) instead of giving short human readable messages.
- otabdeveloper4 3y agoYeah, it's a good thing that programs never have bugs.
- pkolaczk 3y agoI'm not taking about bugs but error handling. For bugs there are panics and they do print stacktraces. For error handling stacktraces are just noise.