3 ms·
I honestly found that particular example puzzling. I've written code in at least three other languages that would look nearly identical to it. Unless they were
by cloverich 3y ago
I honestly found that particular example puzzling. I've written code in at least three other languages that would look nearly identical to it. Unless they were referring to the `?`, or perhaps the lack of a trailing `:` / `{` which seems very superficial to me. Maybe the `@` instead of a `self`? Genuinely unsure.
- thih9 3y agoIn general yes, there are other languages where this is easy too. Then again, ruby and rails make it especially easy; perhaps the amount of conventions helps. Other things, like the ‘?’, clean syntax and focus on structure (OO), help too.