Given that there is unary Numerical#-@
, from symmetry, it might be tempting to have Numerical#+@
, but my understanding is that the design philosophy of Ruby by Matz is that a feature would not be added just for symmetry, but has to have a practical use case.
If the unary Numerical#+@
were left for user to define freely, that might have been useful. But I cannot think of any use case of it as is pre-defined in Ruby. When would you want to use it?