Re:Brython – A Python 3 implementation for client-side web p...
by blumomo on Monday July 06, 2020 @07:07AM
(#23746597)
I would differentiate between marketing speak (designed to replace Javascript) and the practical implications of Brython (designed for folks who want to use Python in frontend)
Re:Brython – A Python 3 implementation for client-side web p...
by jbreckmckye on Monday July 06, 2020 @08:57AM
(#23747382)
If I were a JS developer who only wanted to write JS, but I needed to do a database query, should I look for a database that lets me write queries in JavaScript (or a language basically interchangeable with JS)? Or should I just learn SQL?
Sometimes as a programmer you need to learn new tools for new domains, and that's not necessarily a bad thing.
Re:Brython – A Python 3 implementation for client-side web p...
by linkdd on Monday July 06, 2020 @09:08AM
(#23747468)
This.
Too often I've seen companies stuck with an old framework just because their developers are used to it. That's how you get a microservice architecture in Java where each containers takes 300MB of space, and requires 1GB of memory.
Re:Brython – A Python 3 implementation for client-side web p...
by Godel_unicode on Monday July 06, 2020 @01:21PM
(#23750155)
I'm frankly amazed that the people who brought us node.js haven't also created a JS query language, furthering the spread of the triple-equals to new and greater heights.
From the article:
> Brython is designed to replace Javascript as the scripting language for the Web.
So it does sound like they are asking people to use Brython instead of JavaScript.
> it does have anonymous functions: lambda.
But they're not fully featured functions, though, being restricted to a single expression.