• expr@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    That’s what warnings are for and -werror for production builds in literally any other language. This has been a solved problem for a very long time.

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      Sure. Tell that to the Go devs.

      If the language weren’t pushed by Google, nobody would pay it any attention. It’s yet another attempt to “do C right” and it makes some odd choices in the attempt.