So like rust is better no question. But type script is just bad. Like hear me out. JS is awful, complex frameworks were built. Then TS was built. Then TS got just put on top of a framework. Shit just doesn’t work. If you go interpreted go python…
Right, I have more experience on the server side (honestly the fact that Node exists at all is already a travesty) so I was thinking more in terms of writing a Node server with TS or writing it in Python with one of the various Python web server frameworks. For the client side it’s gonna be painful no matter what, I don’t think Rust web assembly is really gonna be easier to make a full project with than one of the regular web frameworks.
Fair point. I compared the most common usecases of python and JS.
Writing some random desktop application with python is actually quite nice. Distribution is easy and if you use the type system properly it doesn’t really matter that it is not statically typed (with my 7 years of python experience I can assure you, most people don’t use it properly). The standard libraries are really good. Where it can be annoying is managing your environments, but if you somewhat know what your doing its also really easy. Where these applications get finniky is, adding an ui. You either gonna use tkinter which looks just awful, qt or GTK. If using the last two it gets really annoying to package them.
With JS everything will be awful. As for UI you’d use electron which is arguably even worse than tkinter.
As for writing web server with a Python Backend vs JS Backend I can’t really argue with you there. Node is literally made for that so yea. However python Webservers are not that bad as people make them seem. They are quite good. Go is the right tool for the job though
Frontend is not a fair comparison, because you need to do sooo much fuckery to even get python support, and then you got a webassembly interpreter that still calls the JS Dom API shit.
At least JS has a lot of TypeScript support, I wish making an existing Python project statically typed was as easy as using TypeScript.
Rust stays on top.
Static typing is bourgeois foppery. Real proles enjoy Python’s ultradynamic typing that lets you jam any object into anything
My first laugh, today, and today was ten years long. Thanks!
So like rust is better no question. But type script is just bad. Like hear me out. JS is awful, complex frameworks were built. Then TS was built. Then TS got just put on top of a framework. Shit just doesn’t work. If you go interpreted go python…
Right, I have more experience on the server side (honestly the fact that Node exists at all is already a travesty) so I was thinking more in terms of writing a Node server with TS or writing it in Python with one of the various Python web server frameworks. For the client side it’s gonna be painful no matter what, I don’t think Rust web assembly is really gonna be easier to make a full project with than one of the regular web frameworks.
Fair point. I compared the most common usecases of python and JS.
Writing some random desktop application with python is actually quite nice. Distribution is easy and if you use the type system properly it doesn’t really matter that it is not statically typed (with my 7 years of python experience I can assure you, most people don’t use it properly). The standard libraries are really good. Where it can be annoying is managing your environments, but if you somewhat know what your doing its also really easy. Where these applications get finniky is, adding an ui. You either gonna use tkinter which looks just awful, qt or GTK. If using the last two it gets really annoying to package them.
With JS everything will be awful. As for UI you’d use electron which is arguably even worse than tkinter.
As for writing web server with a Python Backend vs JS Backend I can’t really argue with you there. Node is literally made for that so yea. However python Webservers are not that bad as people make them seem. They are quite good. Go is the right tool for the job though
Frontend is not a fair comparison, because you need to do sooo much fuckery to even get python support, and then you got a webassembly interpreter that still calls the JS Dom API shit.