4 ms·
> \s, only kind of, I love Ruby but it does have a few quirks that I see confuse some people coming from other languages when they start writing non-trivial Rub
by rat87 8y ago
> \s, only kind of, I love Ruby but it does have a few quirks that I see confuse some people coming from other languages when they start writing non-trivial Ruby code (literally everything is an object being a big one — “what do you mean a class is an object?! modules too?!”).
That's also true in python
---| type(enum)
<class 'module'>
Also ruby Procs aren't objects
And unlike Smalltalk &&/and ||/or are not methods