• Ethan
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    8
    ·
    6 months ago

    Ananace and the article they linked are using their dislike of Go to conclude that it’s a bad language*. It is not a bad language. Every language has hidden complexity and foot guns. They don’t like Go. Maybe you won’t like Go. That’s ok. But that doesn’t make Go a bad language. The language designers are very opinionated and you might dislike them and their decisions.

    I haven’t used Rust but from what I’ve seen, it’s a lot less readable than Go. And the only thing more important than readability is whether or not the code does what it’s supposed to do. For that reason I doubt I’ll ever use Rust outside of specific circumstances.

    *I’m using “a bad language” as shorthand for “a language you shouldn’t use”. Maybe they don’t think it’s bad but amounts to the same thing.

    • Feathercrown@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      6 months ago

      And the only thing more important than readability is whether or not the code does what it’s supposed to do.

      Isn’t that exactly what Rust is supposed to be good at

      • arendjr
        link
        fedilink
        arrow-up
        13
        arrow-down
        1
        ·
        6 months ago

        And conversely, something Go is very bad at. For example, os.Chmod silently not doing anything on Windows.