i am in my second semester of a CS program, and we are learning Java. last semester was Python, and it was basically a cakewalk compared to what i’m learning now. Java just doesn’t “click” for me like Python did. is Java just objectively more difficult than Python or am i missing something?
Hello people, I am looking to learn a programming language during the summer before college. The classes I'll be taking at univerisity uses Java. However, I've been trying to learn Python on my own for around two weeks using Automate the Boring stuff and Code academy. So I am still a noob. However, I've read some posts where people say learning Java as a first language will be much better than learning Python as a first language because it is easier to transfer from Java to Python but not the other way around. Now I am conflicted in which language I should devote myself to for the rest of the summer. Please give some advice. Thanks!
Edit: Thanks to everyone who replied and who tried to help. So some said that Python allows you to skip the useless code which therefore allows you to focus more on the concepts. While some said that Java forces you to explicitly write out all the steps which teaches you more on the fundamentals. Although I will eventually be learning Python as I am interested in Machine Learning/AI I think I will be learning Java for the rest of summer until university starts simply because of the fact my classes uses Java so I was think about getting a slight head start. Once again, thank you to everyone who helped.
Videos
Cause i start learning Python and its coding tasks are so difficult((
I had initially started with python but found it too difficult, so I switched to java. Now after 4 years I consider myself to be decent in java programming and programming in general basically. I loved how java had brackets and stuff like that which were not there in python due to which the syntax felt just a bit more difficult to comprehend at least to me contrary to general opinion that python is one of the easiest first languages to learn. What are your thoughts on this topic?
Hey guys,
I just started programming with the end goal of one day becoming an programmer one day but the catch is I don't know in what - web development, Android, iOS , ect.
For those who started programming did you already have an end goal in mind of what type of programmer to be?
I chose Java to start off with and been going at it hard but was thinking I should have done python since it's the most popular.
My goal was to go deep in one language and just learn the ins and outs of it to understand programming but chose Java for some reason but realized the python community is larger.
Am I approaching this wrong ? Any insight and Input????
Hi everyone, so as long as I know, Python is an easier language to start learning programming, however, I might have a greater oportunity of getting a kind of internship or even (long term goal, crossing fingers) a job at a company that works with Java because of connections.
What is your experience?
I have learned Java language before and disliked it because I find that the code is too complicated. I find that time is spent understanding the code rather than the idea of the code.
Will Python be a better choice to learn if I am looking for simple code?
Is Python language easier to work with compared to Java language?
Thank you.
Edit: Thank you everyone for your comments.
I will just be to the point, I just find it fun to learn how to code and want to be able to independent create code create things without error. There’s an interval between where I learn hello world then language I don’t understand. It’s very small and I don’t know where. Is it all important to learn?
I feel like I have implemented some complex projects in python (multi-modules). However whenever I am trying to read a java application I get totally lost. I understand the general project structure and feel like I can generally understand what individual classes and methods are doing...
However when it comes to piecing them together into how they are all logically interacting it becomes VERY difficult (or impossible) for me.
Maybe my java experience is just too limited and I definitely still don't understand a lot of the patterns or even syntax in the language (for example, generics, try-catch, are all kind of hard for me to implement).
Any advice on how to get better at just understanding what an application is doing? Am I just experiencing noob pains?
After December we will move away from Assembly at work (I work there as an apprentice and they want me to learn it, they don't actually use it). I get to choose between Java and Python. I will learn the other one later anyway, but in the beginning, which should I take? I work there as a Software developer with only very little pre knowledge.
Python is more like a handy swiss army knife Java is full blown war Tank. I would prefer java.
I had a lot of luck learning the easier things like decision statements and loops with python, but learning OOP and some more complex things was a lot easier to understand with Java. Don’t think you need to learn just one, focus on the concepts!
I was a young, eager programmer. So I went and learnt Python. I solved some fun problems from project euler and the dailyprogrammer subreddtit. Now, I feel like I have a fair command of the language.
Recently, however, I have been learning how to program in Java, in connection with a college course. I am struggling to see its advantages over Python. It seems to me that one has to produce a whole lot more code compared to the equivalent in Python. So why do people use Java? Is it just inertia due to the fact that Java is older than Python?
What does Java do better than Python?
Hi,
I am a university graduate who would like to change my career to IT. I want to apply for a requalification course and basically I have two options available - both courses are "Programmer of web applications" - one is in Java and the other is in Python.
I need some help from someone who knows the industry and the pros and cons of choosing either language. I have read a lot of articles and watched youtube videos and it's practically 50:50. I am leaning towards Python though.
I know your first question will be: What do you want to do in IT?
But that's the problem, I don't know. I have never worked in IT and I haven't experienced different types or jobs to be able to know which I like the most. It's like asking me which food from the menu I liked the most before I had a chance to taste it. I like design, so possibly frontend. But I am open to anything. I think fullstack would be a good skillset to have to find lots of work?
What I know:
Java is more complex to write, harder to learn for a beginner. It is used in web development, Android and in a lot of big companies. It is supposedly harder to change fields in IT if you know Java. The popularity of it is slightly decreasing and the community as well (from what I've heard).
Python is easier to write and read, is used in machine learning and AI and databases. Generally slower than Java to execute, has more potential when you are trying to change fields in IT as it is more widely used.
That's what I know. What I need, is help with this question: As someone (a teacher) who is trying to change career and do something that will enable me to find work easily, which language should I choose to learn to open myself to most job opportunities, something that will be a good start, give me most options for the future and will not lock me in in a specific field, should I realise I do not like it. How should I make a decision? Can you tell me in more detail which language is used in which specific types of jobs and what kind of stuff I could do should I learn Python/Java?
Thank you in advance!
Ben
What language is more advantageous, Java or Python? What do you think?
I have been studying programming for the last six months. For the first four months I studied Python, and then I started studying studying data structures and algorithms. For data structures and algorithms, I picked the books where the code was written in Python. Now that I am about to finish that, I have decided to pick Algorithms by Robert Sedgewick. In this book all the code is written in Java.
I want to learn both Java and Python, and I will learn Java at some point. My question is whether I should start learning it right now or not? I know it's not necessary, but I think it will be much easier to follow the book if I have some understanding of Java.
Why am I confused?
Well, I have watched videos, read blogs about people recommending to stick to one language when starting out. So, I am scared to start a new language thinking I might forget Python or get into a situation where I don't understand either of these languages.
I’m currently trying to choose between Java Full Stack and Python Full Stack for my career.
I’ve noticed that AI is growing very fast, and many people say it might replace a lot of developer jobs in the future.
So I’m confused:
- Is it still worth choosing Java, which is more traditional and used in enterprise systems?
- Or should I choose Python because it’s more connected to AI and future technologies?
Which one has better long-term value considering the rise of AI?
Also, how is the job market for freshers in both domains right now?
Would really appreciate honest advice from people working in the industry.
Java is said to be much faster than python but there are different ways to run these languages (e.g. pypy for python, maybe dalvik for java). Is there any way python could be made faster than java?
I'm a web developer working with HTML, CSS and PHP and I know enough Javascript to get by. When I was a kid I used to code in Visual Basic, and I wanted to get back into that style of programming. So I started taking a C Sharp course.
However, I'm starting to think I'm really marginalizing myself by learning C sharp, because it seems really specific to enterprise apps (or games with Unity) and not widely used. I'd rather learn something more relevant to the industry, particularly that I can use with web applications, but also standalone Windows or console apps.
So now I'm looking into Java vs. Python. I've heard Java is the better place to start because it's easier to learn and more familiar with C languages and Javascript. Knowing Java might also help me improve my JS. But I feel like most of the interesting applications I see are written with Python. I know you can do those same things in Java, like machine learning and web scraping apps, but I haven't seen it done.
Can someone please give me an example of the kinds of applications people are building with Java vs. Python?
-
They can both do the same things. They each have some strengths and weaknesses, which are only important if you actually know how to take advantage of them.
-
Knowing java will not help you with JS anymore than python or any other language.
-
I would worry less about what is used for what, and worry more about your personal preference. Try them out, see what clicks better for you. Don't learn a language because it's the hot thing of the week, java and python programmers will be needed for a long, long time.
That's purely my personal take on it, someone else will come around and have a much more detailed answer which will probably be more to what you are looking for.
I'd rather learn something more relevant to the industry, particularly that I can use with web applications, but also standalone Windows or console apps.
Your use case perfectly describes C#, though. It can be and is used for everything you listed.