pjmlp a day ago

Go is the one being discussed as ignoring history.

C# thankfully was designed by someone that appreciates type systems, maybe you should revisit it.

  • jen20 a day ago

    Not enough to add sum types or exhaustive pattern matching... now F# - that was appreciated by someone that appreciates type systems.

frou_dh a day ago

Does Pascal's break down like this Go does?

    func f(x StatusCode) {
    }

    f(728347) // There's no such status. Whateverz, no compile error.
  • Mawr a day ago

    How often do you pass literals into your functions?

        f(728347) // There's no such status. Whateverz, no compile error.
        a := 728347
        f(a) // Compile error.
    • frou_dh 21 hours ago

      The nature of Swiss cheese is that it can't be all hole and there has to be some non-hole too

      • jen20 14 hours ago

        Raclette is Swiss cheese without holes. That is proper ADT in this anaology.