Java Vs. Python!
Java is Object-oriented - In Java, everything is an Object. Java can be facilely elongated since it is predicated on the Object model.
Python is a Beginner's Language − Python is a great language for beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games.
If I were to make a Pros/Cons of Java and Python (Which I will put later in this post) the negative weight of Python would probably be equal with Java's. For me, Python's errors are the most infuriating thing I've ever experienced. Unlike Python, Java ignores whitespace (Which is a relief).
- Ignores Whitespace
- Good choice for game development
Honestly, I have trouble finding pros for Java. Mainly, because I have VERY VERY little experience with Java.
- Takes a while to compile hey that rhymed
- Has a complicated syntax
- Errors are hard to read
- Code is hard to read
- Simple syntax
- Runs smoothly
- Errors are easier to read
- Code is easy to read
- Installing packages can SOMETIMES slow down compile time
- Does not ignore whitespace
- Hard for most programmers to switch over to ( due to the change in syntax and use of different variable names )
Well, to be honest, this whole thing was to get opinions on which language would be easiest to switch over to. As a C++ Programmer, my main goal is to use a language that supports more functions. If you can add on to the Pros/Cons of either one, I would appreciate that SO much!
Please, respect the opinions of others and myself.
Try not to use language that can rub someone in the wrong direction and cause a misunderstanding. (try to be kind)
Please, do not send spam or say the same thing twice.
Try your best to acknowledge others' opinions that you agree with.
debates are fun
Python is better imho
Even though the package installs can take a while, if you copy-paste the module itself into another file and import that file it will have no loading time. You can also code more in less time do to things like no semicolons, curly bracket functions, and faster variable assigning.
Also java is kinda weird.
In my opinion, Java is better and I will list why.
- Not good dynamic typing in my opinion. Sometimes, you wont be able to tell if you declare a variable or edit a variable, and if you make a small spelling mistake, you may end up with a broken program.
- Whitespace based, some people like this, but personally, it kind of infuriates me, it makes me unable to do code in one line, etc. whitespace based code can also go wrong really fast.
- amazingly slow
- Easy package manager compared to java
- Not a steep learning curve. SO MANY online resources to learn and so many stackoverflow questions. (not trying to advertise, just trying to prove my point, but look, even i made one). Additionally, because its been around for a long time, there is a lot to build off of.
- almost as fast as something created in C/C++
- Stupid package manager
- a bit verbose
You claim that you are coming from C++.
The transition from C++ to java will not be as steep as it would be from C++ to python.
There are probably more but this is all i can think of off the top of my head.
Ultimately, the decision is yours