Y
Hacker News
new
|
ask
|
show
|
jobs
by
sodapopcan
218 days ago
`1 + 1` in Ruby is syntactic sugar for `1.+(1)`. Nothing wrong about it at all, it's just different from what you're apparently used to. This type of thing isn't even unique to Ruby or even OOP.