When I picked up programming I started with Python but now mainly use Java. I want to do frontend so I just recently started learning JavaScript. Before I thought JavaScript was a language for frontend only, but now I realized that it could be used for backend and I'm thinking why don't people recommend JavaScript since it has the same concepts as Python and Java but it has more uses?
I've spent a decent amount of time learning Javascript and have a pretty good understanding of the core concepts of it. I had no programming background so it helped me learn about loops, if/else statements, switch statements, etc. I have some questions as I consider whether to move further with it that I was hoping you all could help with. I am trying to decide whether I want to continue further with Javascript or switch to learning Java or Python.
Is Javascript used for anything outside of the browser? One of my concerns when it comes to learning Javascript is that I don't do web development. I know HTML/CSS but I don't create websites so I sometimes worry about the practicality of learning Javascript if I don't plan on creating websites.
What are Java and Python most used for? First off, I know Java and Javascript have nothing in common. Java and Python can both be used as a server-side scripting language and Java is used for Android OS development. Part of what interests me about Java is app development, as well as the fact that it allows me to create standalone desktop programs. What else can be done with these two? What are they most used for in the corporate world?
I work in IT but am pursuing Engineering classes for a degree in Mechanical Engineering. I'm trying to find a language to work on that would both benefit me professionally as well as personally. As I mentioned, I am definitely interested in learning to create apps at some point but also creating fun little computer games and useful programs.
I'm sorry if this is a dumb question but learning to program takes a lot of commitment and effort and if I'm going to devote time to learning, I want to make sure I'm learning a useful language as well in addition to the core concepts.
Thanks!
If you'd like to continue programming, I'd definitely suggest learning:
-
at least one (relatively) strongly typed, OO language. Java and python are good examples.
-
at least dabble in some sort of functional language.
The problem with JS is that it lets you get away with shit that would melt a compiler in any other language and usually leads to bad practices. I'm always weary of programmers that list Javascript as either their main language or the one that they learned on.
To answer your question, JS is moving into the server side of things with things like Node.js which is gaining popularity as of late. However, both Java and Python are much more versatile than JS. You can do just about whatever you want in either of those two (including writing client code if you count frameworks that compile to JS. GWT for instance.).
Java has similar syntax to the c language which means that once you know how it works, you're well on your way to c++ and c#. My intro to c++ class was lame because it didn't move passed things that were more or less the same as Java. I coulda gotten that far with it in a weekend.
JavaScript follows that syntax to some extent so Java should feel somewhat familiar. And since you want to make apps, I think java is a no brainer. Get a book on java and get a good grasp of it, then start learning android. You even use the same tools for both. Eclipse is a great ide for java and Google has a custom version for making apps.
Python is cool too, though. Once you learn java, picking up python is really easy. You'll find the algorithms and data structures for all object oriented languages are basically the same and once you learn one, picking up others is trivial. This is sorta an over simplification, but its definitely true between java and python.
Videos
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.
My path to learning to code is C, HTML,CSS in that order, and now I'm done with it, but i don't know what i should do now. which of this programming language should i learn next?
HTML/CSS without Javascript isn't very useful, so I'd say pick up JS next, then python soon after.
I think it depends on what you want to do, but definitely learn JavaScript. While you're at it, study node.js. Also, C# is a great language to learn and widely used. I personally learned Java before C#, and ended up preferring C#. I think they're both great though. Since you've already been learning C, you probably shouldn't have too much trouble with C++. I learned C# first, and found C++ to be much more complex, but very interesting and you can do so much with it. If you get into some game programming, and want to learn Unreal engine, C++ is the way to go. Again, much tougher than C# so many choose to go with Unity engine for that reason. If you're wanting to develop for the web, definitely focus on JavaScript/nodejs first, then C#. It would also be good to learn some data-related stuff, like sql, nosql, and json. On the topic of web, look into one or more of the following: Angular.js, React.js, and Vue.js. For mobile app development, react-native is a good way to get started with that.
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 stayed away from python at first since I wanted to build cool stuff immediately but as a programming beginner the mingling syntax between js, html and css just frustrates me and I can’t make a lot of progress quickly.
I’m wondering if switching to python would be a good move since I’m studying engineering and I won’t have that frustrating part of not knowing the syntax for three different things.
Just focus on one program and build it correctly you know.
Thanks for reading.
They have the same uses, right?
I am so confused. My friend recommended I start with JS, so I went online for some resources and had half of the people recommend Python while the rest recommended JS
I want to learn web developement, but I don't want to learn a new language, i.e., JavaScript.. Is Python good for web development or do I have to learn JavaScript?? Also are there any other modules than Django (it feels to complicated to me)??
Edit: Guess I'll learn JavaScript after all..
Which would be a better one to start with?
I've been wanting to start with python but I've been reading a few comments stating that starting off with java/Javascript would be better because it's more difficult. So python would be much easier after.
Am I getting this right?
Thanks
I am very conflicted. I know a small bit of python and javascript (as in the only thing I can do is print things like hello world in them) but I have seen many videos about learning java's basics in 15, 14, even 10 minutes.
I should probably say my reasons for leaving it though as that will affect this quite a bit. I wanna make a website and small applications and some games but I want to learn the basics in a video shorter than 11 hours.
At the end of the road I wanna be able to make a small operating system that contains its own code app, a custom Web browser, settings, built-in games, a messaging/calling app, video player, files app, and all the other things a good operating system has.
So, which language should I code in?
Edit: I have had a change of mind, im learning binary first.
I'm fairly new to programming. I know the basics of both Python and JS. I want to learn one of the two languages (fully with online material and by myself) in depth. My future goal is to work for a company to earn further experience. What would you guys recommend? What is most needed in the market? What will give me better job opportunities? Do you know any good online resources I could use? Any tips would be great.
I need to take a programing class for my collage next semester and need help deciding between JavaScript or Python. I'm new to programing so I'm not sure which to start off with. Any feedback is appreciated!
Hey everyone,
I’m a beginner in programming. I'm confused about whether to go with Python (Flask/Django) or JavaScript (Node.js) for backend development.
Here’s some context:
-
I’m also learning front-end (HTML, CSS, and JavaScript).
-
I want to build full-stack web apps.
-
I enjoy Python’s simplicity, but I’m also okay learning JavaScript properly.
-
Long term, I might also be interested in data science or AI (so Python would help there).
Can you guys share what worked best for you, or which path makes more sense for someone starting out?
Any tips, resources, or personal experiences would be really helpful!
is there a good reason to have java as your first language over languages like python or js?
Hey y'all, I'll be needing to choose either one of Java, python, c++ or web programming for my second semester in electronics and communications but i have no idea where to start from
I've learnt all the basics of c programming in my first semester and i have to choose between the above mentioned for the second semester and it's really rattling my brain
Which of them would be better for a beginner to programming language and which would be most helpful in the future, if you'd have to say?
Thanks in advance!
I hate my career field, and long term I'd like to do something in programming. Web development seems much more in demand which pushes me to learn Javascript first, but I keep seeing learning python recommended to beginners. Long term though, I'd like to be able to do full stack web development and also small personal applications on the side, and most job listings I see want some amount of literacy in both languages. I've heard from both sides "if you learn python first you can pick up bad habits" and "if you learn Javascript first you can pick up bad habits" so I'm not really sure where to go from here.
Also, if Javascript I was going to go the route of The Odin Project. Is there something similar for learning Python?
Thanks!
What language is more advantageous, Java or Python? What do you think?