2 ms·
Also likely to apply in any late-bound language where operators are implemented by messaging e.g. Ruby: a = Object.new; def a.==(b); true; end now a == b
by inopinatus 9y ago
Also likely to apply in any late-bound language where operators are implemented by messaging e.g. Ruby:
a = Object.new; def a.==(b); true; end
now a == b returns true for all b.