|
|
|
|
|
by dathinab
1780 days ago
|
|
> No, developers don't read compiler error messages, unless absolutely necessary. This depends fully on the ~language~ compiler. Some compilers create extremely long verbose but useless messages, other create use-full messages most times only as long as necessary with nice formatting making it easy to skip over the parts you don't care about. Like e.g. I always read error messages when programming rust, sure I fix a error at a time so I don't read all error messages at once, but I do go through them step by step. |
|
For example, if there's an error in a macro that was meant to emit a trait impl, the first error will tell you about the error in the macro, and then the fifty errors after that will be fifty different and increasingly confusing ways of telling you that the type doesn't impl the trait.
If you don't start at the top and fix one error at a time you'll just end up chasing and being confused by red herrings.