4 ms·
when a language is hard to learn, the compiler error messages are probably just bad in terms of comprehensibility and offer the user no direct solutio
by valarauca1 10y ago
when a language is hard to learn, the compiler error
messages are probably just bad in terms of
comprehensibility and offer the user no direct solution.
I don't want to sound snarky but Rust really does have amazing error messages, and they literally do offer direct solutions/suggestions using literal examples and raw samples of your source code.
It even offers the `rustc --explain EXXXX` (where XXXX is an error code) that give an in terminal deep dive + examples on why this is an error/how it is failing.
I never wrote a single line of rust
:|
- JepZ 10y agoSo what do you think, why is it so hard to learn rust, if it is not about the compiler messages?