6 ms·
Oh hey, flying goalposts, cool.
by masklinn 4y ago
Oh hey, flying goalposts, cool.
- Dylan16807 4y agoThe hell are you talking about? I used the same phrasing both times.
- DonHopkins 4y agoYou're the one who brought up comparing the contents instead of just the types and pointers. The first pair of goalposts was the fixed size comparison of the (type, pointer) bits of the string object reference, the second pair of goalposts was the variable length and arbitrarily long contents including the bits that the two different string pointers refer to. The bits of a structure containing a string don't also include the contents of the string itself.
- Dylan16807 4y ago"any array or struct containing one of the exceptions" is already talking about comparing the contents instead of the types and pointers. I didn't bring up the idea, I just said strings did the same, and with everything doing the same thing it's not an exception to bitwise comparisons, it's a general rule for how to handle nesting. Floats are still an exception, but not the rest of that list.