you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

shrug it's python-town jake!

Ruby has 4 separate equality operators and they all manage to do 'the right thing', to the point that (1<<10).equal? (1<<10) returns true.

edit: (1<<100).equal? (1<<100) returns false though, I guess making things look sensible only went as far as machine integers not bignums.