• sebsch@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    8 months ago

    The words errors, go and usefull do not match in my brain.

    If there is a way not to implement error handling, it would clearly be go’s implemenation.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      no, there’s no better error handling than writing if err != nil { return err } after every line of code, this is clearly the superior way

      /s