▲ | graynk 3 days ago | |||||||
> Yes, in the literal narrow sense, there is no such thing in the submitted article Therefore your analogy is invalid, because your example is doing something entirely different and throws away nested structs that the whole thing is about. > The point is that the exhibited behaviour is unintuitive, in contrast to what the others are saying. Why? > Did I get that right? No. Let's stick to the original example and add the order of operations from your example.
Do you still expect this to print "something completely different" or does this look intuitive now?The unintuitive part is that this works in the first place and doesn't throw an error:
But if you know about this unintuitive feature and are relying on it instead of accessing the fields by their fully qualified names, then you should already have a gnawing feeling that asks you "what happens when there are conflicts?" (and the answer is - it does the intuitive thing) | ||||||||
▲ | nvlled a day ago | parent [-] | |||||||
> The unintuitive part is that this works in the first place and doesn't throw an error What the hell? So you do agree that it's unintuitive but the supporting points you keep giving are completely, utterly tangential. That's what I have been saying all this time, that it's unintuitive, what you are even disagreeing with me for? The analogy? I repeat this once again, I made the analogy to simplify and make it clear because some responses seems to miss it. I've already addressed your points, but you keep giving back the same supposed rebuttal, different words but same meaning. Nothing about what you say invalidates the analogy. > But if you know about this unintuitive feature and are relying on it instead of accessing the fields by their fully qualified names, then you should already have a gnawing feeling that asks you "what happens when there are conflicts?" (and the answer is - it does the intuitive thing) If you are deeply aware of the quirks, intuition no longer applies. You rely on intuition when you are in an unfamiliar situation. So again, nothing what you said just now supports any of your argument, whatever it is. | ||||||||
|