4 ms·
DSLs always seem like terrible relationships. Fun and exciting at first but soon she's telling you what to wear, what to say, who you can hang out with, etc. Oh
by syn0byte 8y ago
DSLs always seem like terrible relationships. Fun and exciting at first but soon she's telling you what to wear, what to say, who you can hang out with, etc. Oh sure, you can "Do what you want", and "It's fine." But you know she will punish you for it later when you least expect it. You would break it off but now you have so much invested she is integrated into your life. Maybe she will mellow out if you "put a ring on it" and buy a support package...
- tyingq 8y agoI may be wrong since I just skimmed the docs, but this looks like an attempt to allow general purpose python when needed, rather than being fully locked into a DSL.
- mpdehaan2 8y agoRighto (author here)! It's a lot more relaxed (IMHO) than some. Most methods are raw python. The "set_foo" methods are just methods that get called when the objects are constructed to populate certain fields. You can just pass those in and leave them off if you want.