Actions
Feature #7359
closed#eql? and #equal? naming
Feature #7359:
#eql? and #equal? naming
Description
In my opinion the difference between @#eql?@ and @#equal?@ is really unintuitive. How about making their difference more obvious by giving one of them a more accurate name?
My proposal is to rename @#equal?@ to @#identic?@.
If you deprecate #equal? at the same time, maybe in the far future it can have a comeback as an alias for #eql? to make those people happy who dislike to use abbreviations just to reduce the character count by two and simultaneously making it harder to read in a classical sense.
If you like it, let me know. Then I will provide a patch.
Actions