3 ms·
Got as far as this before my WTF moment: a != b let x = !(a >= b); let y = !(b >= a); x || y Also had pause to think at this: result = divide(5, 0) switch resu
by rapsacnz 4y ago
Got as far as this before my WTF moment:
a != b let x = !(a >= b); let y = !(b >= a); x || y
Also had pause to think at this:
result = divide(5, 0)
switch result[1] {
case "": puts(result[0])
default: puts(result[1]) // prints "cannot divide by zero"
}
I mean... the language was looking pretty good up until that point.