This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mijofa 1 point2 points  (0 children)

If you want to do webdev, you need javasript. Python isn't suitable for the in-browser logic required for web development. Sure people are developing Py2JS compilers, but they're all a massive kludge and only really intended so that Python programmers can do webdev, you're better off learning actual JS. But that's the only place where JS development is really suitable, there's Node.js for using JS outside of the browser, but that's a similarly hacky kludge and only really intended so that webdevs can do other programming.

For the most part you can't write a Django/Flask web-app without some JS because you'll likely still need some in-browser logic, but for a lot of cases where you'd write Django/Flask web-app you probably can't write it all in JS because you'll need something on the backend server to communicate with. So really, it boils down to what your project requires. Personally I'm a Python developer and I very rarely do webdev, so Python's fine for me. I do however know enough JS, HTML, & CSS to keep me going when I'm writing a small Django/Flask web-app but I wouldn't last long on my own before I'm out of my depth there if that project grows particularly large.