zlacker

[parent] [thread] 3 comments
1. frou_d+(OP)[view] [source] 2025-08-22 19:16:33
Does Pascal's break down like this Go does?

    func f(x StatusCode) {
    }

    f(728347) // There's no such status. Whateverz, no compile error.
replies(1): >>Mawr+Nw
2. Mawr+Nw[view] [source] 2025-08-22 22:31:31
>>frou_d+(OP)
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.
replies(1): >>frou_d+cn1
◧◩
3. frou_d+cn1[view] [source] [discussion] 2025-08-23 07:09:42
>>Mawr+Nw
The nature of Swiss cheese is that it can't be all hole and there has to be some non-hole too
replies(1): >>jen20+wU1
◧◩◪
4. jen20+wU1[view] [source] [discussion] 2025-08-23 13:55:57
>>frou_d+cn1
Raclette is Swiss cheese without holes. That is proper ADT in this anaology.
[go to top]