News for hackers. Stuff that matters.
Re:Brython – A Python 3 implementation for client-side web p... by corytheboyd on Monday July 06, 2020 @12:01PM (#23749261)
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

Re:Brython – A Python 3 implementation for client-side web p... by dragonwriter on Monday July 06, 2020 @12:47PM (#23749732)
> 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.

Re:Brython – A Python 3 implementation for client-side web p... by bruxis on Monday July 06, 2020 @03:16PM (#23751632)
+1, would have much rather seen a function-based interface for DOM manipulation than this monstrosity.