• SilverShark@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    Yes, true. Having it built in in the compilation would be nice. Or at least having errcheck as a tool which already comes packed with Go.

    Go has changed over time to include more things like this. Maybe one day this will be addressed.

    • BatmanAoD@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Yeah, I was particularly glad to see the change in loop variable semantics become a stable part of the language. That was a terrible footgun.

      There are other things I dislike about Go, but I do think it’s improving while maintaining its better qualities, which is no small feat.