• See, in not so sure about that. Go has a lot of issues, things it doesn’t do well, but one thing it is good at is being simple. I would argue that it’s certainly not more complex than JavaScript, and in many cases, is easier simply because there are fewer “gotcha” edge cases that impact new developers. And Go is slowly eliminating those gotchas (such as the loop variable shadowing issue).

    Your argument holds for Rust v JS; the Rust learning curve is higher, and you have to understand many more technical computing topics to write good code. But I don’t think the same holds for Go. Anyone capable of learning JS is capable of learning Go, in nearly the same time.

    Maybe you’re saying that there’s a veritable legion of JS script monkeys, and so it’s cheaper because of supply and demand. I’d agree with that. JS programming skills are certainly far more fungible between companies, which encourages new developers to choose it. I just don’t think it has as much to do with language complexity or difficulty.

    • dangling_cat@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      I said nothing about the difficulty of learning. JS/TS developers are easier to find and are cheaper, and the current climate wants everybody to be full-stack developers. The cost savings of Go isn’t there :(