I'm looking to learn a programming language and I'm torn between JavaScript and Python. I have some experience with HDMI and CSX, but I know they're not real programming languages. I want to dive into coding for fun, but I also want to work on meaningful projects that are more than just basic examples. My partner has various tasks that could be automated or aided with some software, which I think would make a great first project. Everyone says Python is great for automation, but I'm also interested in creating a simple web-based app that looks nice and is user-friendly, which points to JavaScript. I'd love to hear what you think would be the best starting language for my goals!
1 Answer
Both JavaScript and Python are solid choices! There are frameworks in Python that can help with web development, and you can use TypeScript with JavaScript for scripting and automation. They both offer a unique development experience, so it really comes down to personal preference. I recommend picking one to start with, get a good grip on the basics, and then try out the other one later. If you go with Python, consider looking into type annotations to help with clarity in your code. For JavaScript, using TypeScript instead might be beneficial.

What do you mean by adding typing to Python? I'm leaning more toward Python, and I can figure out the front end later.