Y
Hacker News
new
|
ask
|
show
|
jobs
by
tarpherder
3915 days ago
I fail to see how reasonable decisions lead to the situation where a == b works "fine" while b == a effectively crashes the program. Could you elaborate what the reasonable decisions were?
1 comments
flohofwoe
3915 days ago
Yeah, this sounds more like a and b are different types but somebody messed up overriding equality operators. I wouldn't blame the language for that.
link