Re:SciRuby
by zhemao on Tuesday November 01, 2011 @11:36PM
(#3185288)
As for #1, I've just implemented it. https://github.com/zhemao/chainsmoker
[ Parent
| on HN ]
From the website:
However, due to the special nature of python's builtin datatypes (str, list, int, float, tuple, dict, etc.), you will not be able to use chained_class on those classes.
This helps to make my point about ruby's object model. Of course, ruby takes a speed hit for it, but it is more consistent in this regard.