3 ms·
As a new user, it is way more useful. As an old user, you skip right past it. Every Python exception tells you > Traceback (most recent call last): Which is
by Latty 9y ago
As a new user, it is way more useful. As an old user, you skip right past it.
Every Python exception tells you
> Traceback (most recent call last):
Which is a similar boilerplate statement. Except less useful to newcomers.
And if you doubt the need for newcomers to understand that stack traces and compiler errors are useful, then take a look at new user questions on StackOverflow - it's incredible how many of them flat out don't include that information. This kind of thing makes it way more likely the user recognises this is something useful, and better than that - makes it way more likely they can apply that information and solve their own problem.
> Besides, isn't a bug exclusively something that breaks at runtime?
I mean, it would be a bug if the type checker hadn't caught it. The runtime distinction seems completely arbitrary when we are talking about tools take take runtime errors and make them impossible.
- abecedarius 9y agoTechnically "we've found a bug" ought to be "we couldn't prove there's no bug of this sort" and it can be grating, in the same way Clippy helpfully popping up was grating, to have the latter announced as the former.
- alphaalpha101 9y agoProgramming languages shouldn't be designed around what is best for complete newbies. They should be designed around experienced users. Why design around a stage you're in for 15 minutes instead of the stage you're in for 15 years?