zlacker

[return to "Go is still not good"]
1. pjmlp+bh[view] [source] 2025-08-22 12:12:26
>>ustad+(OP)
As usual, lets revisit something that Pascal could do in 1976,

    type

    StatusCodes = (Success, Ongoing, Done)
Go in 2025,

    type StatusCodes int

    const (
        Success StatusCodes = iota
        Ongoing
        Done
    )
◧◩
2. jen20+O81[view] [source] 2025-08-22 16:58:23
>>pjmlp+bh
If Pascal doesn't have required exhaustive pattern matching, it's no better than Go or C# in this regard.
◧◩◪
3. pjmlp+yc1[view] [source] 2025-08-22 17:16:57
>>jen20+O81
Go is the one being discussed as ignoring history.

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

◧◩◪◨
4. jen20+Th1[view] [source] 2025-08-22 17:47:40
>>pjmlp+yc1
Not enough to add sum types or exhaustive pattern matching... now F# - that was appreciated by someone that appreciates type systems.
[go to top]