I used to hate web frontend development. But now I’m realising I just hate JavaScript. Python is also interpreted meaning it can be hosted in a sandbox, also dymically typed, has dicts which baiscally use JSON syntax, supports multiple paradigms, etc. Instead of a language whose creators probably said “let’s make this language we named after Java a million times worse than Java”
You’re broadly going to have a bad time trying to force the wrong language for the job, fwiw.
You could always stop doing web frontend dev - there’s plenty of other stuff in programming to do. If you’re into UI dev, then modern native mobile dev runs on either Kotlin for Android or Swift for iOS, both of which are highly competent languages. Their modern UI toolkits are Jetpack Compose for Android and SwiftUI for iOS, both of which are reactive in the style of React, but unburdened by the shortcomings of JavaScript.
Py2wasm?
Django?
That’s backend
You can do front end with it too, albeit in a somewhat limited way.
There have been attempts. With WebASM. There’s even an interesting compiler for it. Not super fast, but potentially useful. Good luck with gaining traction though. https://wasmer.io/posts/py2wasm-a-python-to-wasm-compiler
random duck results include many sites claiming things like:
Convert your Python Code to Javascript. This exceptional AI-powered tool converts your Python code into Javascript code easily, eliminating the need for manual re-coding. Save your precious time and unlock cross-platform development like never before with our converter tool
what could possibly go wrong?
Isn’t this what NaCl and WebAssembly was supposed to allow?
Not as popular as it used to be, but I still maintain some CoffeeScript apps… even write new code in it.
https://coffeescript.org/#introduction
You still have to know JS, but you might find it more palatable this way.
This will become increasingly realistic as WebAssembly matures. In the meantime, my out-of-left-field suggestion is to check out ClojureScript.
deleted by creator
python is worse than js, imo