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. torgin+Fi[view] [source] 2025-08-22 12:23:08
>>pjmlp+bh
Where do you put the comments on the Pascal version?
◧◩◪
3. pjmlp+0j[view] [source] 2025-08-22 12:25:34
>>torgin+Fi
Where you feel like it.
[go to top]