I'm beginning to feel mildly competent with Python, enough that I can debug my code and understand the documentation and some of the core conceptual logic of Py.
For the project I am working on the next step is to get my python code into a web app, I am looking at just using Django because it uses Python language but I feel JavaScript (HTML, CSS doesn't worry me) may be more beneficial in the long run (skills and project-wise).
I see lots of people saying JS is hard to learn and understand, should I invest the time now? Or can Django get me a pretty decent responsive website for the near term? (The sites main functions will be looking at a map of venues around the user's location that are drawn from a database (I have used SQLite3) allow users to login and submit recommendations which are then mapped).
I'd ideally like to turn this project into an IOS and Android App in the medium term too.
EDIT: Thanks for the phenomenal advice everyone! Hopefully this I helpful to others too.
Javascript or Python? beginner getting up to speed - Stack Overflow
Python vs JavaScript which one should i learn?
There is no such thing as “learning it fully”. You will improve in confidence and competence, but nobody knows any language fully. It’s not a multiplication table or a vocabulary quiz. It’s more like a spoken language: you can learn the vocabulary and the grammar all day, but the real value is in constructing expressions fluently in new and varied scenarios.
Study what is productive to your needs and wants. Learn both. I use JS and PHP to do my job because I need to, but I typically use Python wherever I can, especially in hobby stuff. I recreate solutions to puzzles in C++ sometimes to make sure I keep learning.
First, practice whichever strikes your fancy. Make an app or script for something fun or functional. Maybe do puzzles and challenges on websites. You’ll learn many languages if you need to. If you want to broaden your horizons, try to recreate something you’ve done before in a different language.
It’s most important to be able to employ a language that can get the job done. In many cases, that will be whatever language you’re most comfortable with.
More on reddit.comJavaScript or Python 2020?
JavaScript vs Python
It doesn't matter. Both languages are generic and so can be used for any task. That said, if your interest is in processing large amounts of data or to learn about machine learning then Python has richer and more popular libraries for this purpose.
More on reddit.comWhich is more beginner-friendly Python VS JavaScript?
Is JavaScript better than Python for web development?
Which aspect is the most important when choosing the best online learning platforms?
Videos
Python is more regular, and has not needed to keep supporting every old, redundant feature forever, as Javascript has been forced to do (in order to keep supporting existing sites): these are issues that can make Python easier to learn.
However, Javascript's not too bad, especially if you can choose a reasonably rigid, modular, clean framework such as dojo (if you have to learn about every popular JS framework, or even most of them, it will, however, be a nightmare -- as it will if you have to learn the subtle bugs and incompatibilities of various browsers' implementations of JS and the DOM, rather than getting them covered up by such frameworks as dojo, jquery, or closure).
For learning Javascript, I recommend supplementing whatever tutorial you choose with Crockford's Javascript: the good parts -- it's a very thin book (which sounds like a joke, but it's true!-), fast and easy to read, and stops you from wasting your time on language features that are misconceived, too badly designed to use, or counterproductive. Crockford is a real JS guru and is well worth reading and paying attention to.
Depends what you want to do. If you're just interested in learning a programming language, I would recommend Python because:
- The interactive prompt is great for learning a language
- It's simple and well-designed, whereas JavaScript has a number of design flaws that can be confusing to newbies
- There is a particularly high amount of introductory materials for Python.
- It allows you to do all kinds of programming (server, client, games, etc.), whereas JS will limit you a bit more.