3 ms·
Also, while ruby may be better at DSLs, python's not bad at them by any means. All the __magic_methods__ that enable stuff like operator overloading and interc
by galdosdi 10y ago
Also, while ruby may be better at DSLs, python's not bad at them by any means. All the __magic_methods__ that enable stuff like operator overloading and intercepting "obj.attr" references, etc make it pretty easy to make a pretty reasonable looking DSL pretty quickly.