Videos
Is JavaScript better than Python for web development?
Which is more beginner-friendly Python VS JavaScript?
How do you choose which online course sites to review?
Hi, I'm 17 right now and currently wasting a lot of my time so thought of getting into coding. I did some research and came to a conclusion that most recommend either javascript or python as their first language.
I have a very basic foundation in C, like very basic so wondering which one would be more useful to learn first. I'm thinking of giving both js and python a week or a month and then decide which one I'll study further. Would this be a good idea or a waste of time?
I'm choosing js because of web development and python since many said it's easy to understand and won't take much time to learn. I don't exactly have a goal to pursue either web development or any js things OR the machine learning, data science thing from python which is the reason i thought of learning both for a week or month to figure out what I would be suited for most. But I plan to get a job on this related firled quick. Thank You.
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.
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.
I’m new to coding and want to learn the fundamentals of it. I just want to know which one is the best and that’s it and give me some YouTube tutorials recommendations.