“Rust’s compiler prevents common bugs” So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

  • smiletolerantly@awful.systems
    link
    fedilink
    arrow-up
    1
    ·
    20 days ago
    • if your skill is so great that you would never cause the kinds of bugs the rust compiler is designed to prevent, then it will never keep you from compiling, and therefore your complaint is unnecessary and you can happily use rust
    • if you do encounter these error messages, then you are apparently not skilled enough to not use rust, and should use rust

    In summary: use rust.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    I can sympathize with some people getting tired of “rewrite it in Rust”, especially when it’s suggested inappropriately. (Worst I saw was an issue opened on something, maybe a database, I don’t remember. Someone said they were a new programmer and wanted to help and only knew a little Rust and that if the project was rewritten in Rust they could help.) But… Rust’s compiler being able to do those things is actually super useful and amazing. This is like someone saying they don’t need static types because they know the language good enough to not misuse the dynamic types. This is like someone saying they don’t need C because they’re good at assembly.

    While it isn’t something as simple as Rust being strictly better than C/C++, it’s really silly to say that you being a good developer means you don’t need guardrails. Everybody makes mistakes all the time. You’re not perfect.