5 ms·
Such an over-engineered API and then you use 1 and 0 instead of boolean for the fundamentally boolean thing that's the whole fking point lol, I'm out
by jarvuschris 2y ago
Such an over-engineered API and then you use 1 and 0 instead of boolean for the fundamentally boolean thing that's the whole fking point lol, I'm out
- pcraig3 2y agoSorry to hear you are out. I've found "T/F" vals are not always portable between languages ("True" in Python vs "true" in JS) whereas integer comparisons are always interpreted correctly.
- bakugo 2y ago> I've found "T/F" vals are not always portable between languages ("True" in Python vs "true" in JS) What? Booleans are booleans, they are converted to/from the language's boolean type when you encode/decode to JSON.