3 ms·
> But, thus, upon seeing the program, without additional information you cannot know whether it'll give 8 or 3 (or who knows what else), and thus "I don't know.
by lelanthran 3y ago
> But, thus, upon seeing the program, without additional information you cannot know whether it'll give 8 or 3 (or who knows what else), and thus "I don't know." is very much an appropriate answer.
May it is appropriate, but its underhanded.
I mean if someone gave the single line of Go code:
s := x + y
And then, when you said "that adds two number", the someone replied "Hah! Gotcha! The answer is 'I don't know'"
It's puerile.
- stephen_g 3y agoI don’t get what you’re saying - what’s underhanded about saying structure packing can have unexpected results across platforms, architectures, compilers and even compiler flags? The point is that you could only ever say for sure what the answer will be if all that is exactly specified, otherwise your assumption could be wrong.