3 ms·
Not sure how you conclude it's simpler than python. Different precedence of !/not has burned me in the past. Symbol/String keys have burned me. Module/Class (Py
by __s 5y ago
Not sure how you conclude it's simpler than python. Different precedence of !/not has burned me in the past. Symbol/String keys have burned me. Module/Class (Python has this to some extent, but you don't declare modules so it doesn't come up), block/proc, fail/raise, extend/include, case/when can be used for bool expressions or instanceof checks
I enjoy ruby, & it's nice once you get that every property access is a method call ("it's all message passing") which has nice dynamism (see Sequel)
Maybe you can argue Ruby does a better job not leaking its abstractions (no __slots__ etc)