News for hackers. Stuff that matters.
Re:The struggle with Rust by JepZ on Tuesday January 24, 2017 @09:15AM (#13471408)
I never wrote a single line of rust, but 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.
Re:The struggle with Rust by valarauca1 on Tuesday January 24, 2017 @09:36AM (#13471582)

    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
:|
Re:The struggle with Rust by JepZ on Thursday January 26, 2017 @06:17AM (#13490451)
So what do you think, why is it so hard to learn rust, if it is not about the compiler messages?