• @kaffiene@lemmy.world
    link
    fedilink
    English
    261 year ago

    My favourite is “all the boilerplate” then they come up with go’s error checking where you repeat the same three lines after every function call so that 60% of your code is the same lines orlf error checking over and over

    • @xtapa@discuss.tchncs.de
      link
      fedilink
      21 year ago

      When you handle all your errs the same way, I’d say you’re doing something wrong. You can build some pretty strong err trace wrapping errs. I also think it’s more readable than the average try catch block.

      • @kaffiene@lemmy.world
        link
        fedilink
        English
        21 year ago

        Yeah, that’s the other thing - it does become easier to accidentally fail to deal with errors and the go adherents say they do all of that verbose BS to make error handling more robust. I actually like go, but there’s so much BS with ignoring the pain points in the language.