2 ms·
Not at all a Python user, but I don’t get how this is a valid argument at all: > Python has no built-in structure to manipulate trees What’s wrong with an API
by corytheboyd 6y ago
Not at all a Python user, but I don’t get how this is a valid argument at all:
> Python has no built-in structure to manipulate trees
What’s wrong with an API like appendChild etc? I know you’re just quoting the FAQ but if anyone has an answer I am legitimately curious. I have worked with Ruby for many years and loath cute DSLs but I always thought it was just the Ruby community that went overboard on that shit haha
- dragonwriter 6y ago> What’s wrong with an API like appendChild etc? Verbosity vs. fluency, given the application domain, I expect is the concern. I'd rather have fluent DSL separate from the basic language runtime, though, so that adopting it is a separate decision from using the runtime.
- bruxis 6y ago+1, would have much rather seen a function-based interface for DOM manipulation than this monstrosity.