C++ or Java?

Feb 19, 2016 at 10:47pm
I know this question is asked a lot, but I really want to know. I started to learn C++ but have had my doubts. This forum may be a bit biased but I don't know where else to post it. I don't plan on making games much in the future, but would like to make a couple just for fun. So should I stick with C++ or switch to Java?
Last edited on Feb 19, 2016 at 10:48pm
Feb 19, 2016 at 10:54pm
I mean, how would one answer this question? Giving you an answer telling you to stick with C++ or switch to java would have no meaning.

Why not try both? See which one you enjoy more. C++ Was my first programming language, worked out more than fine.
Feb 19, 2016 at 10:56pm
Ok, thanks that sounds like a good plan's
Feb 20, 2016 at 12:35am
python
Feb 20, 2016 at 3:58am
Do both! They're both awesome languages with their own unique traits. If you are the type of person who learns by seeing the results of your code, Java would be good since you can easily create GUI apps with it.

C++, on the other hand, requires less setup to get started. You can pretty much just download Visual Studio, for example, code it and run it. With Java, you'd need the JDK installed, and its console apps can't run simply by double-clicking the app.
Feb 20, 2016 at 4:01am
Thanks, I'm going to do both and see which one I like better!
Feb 21, 2016 at 9:22am
The university of Helsinki offers a free course in Java.

http://mooc.fi/courses/2013/programming-part-1/
Feb 22, 2016 at 6:49am
closed account (18hRX9L8)
ne555 wrote:
python

javascript
Feb 29, 2016 at 2:08pm
c++
Mar 5, 2016 at 10:20pm
OOP
Mar 6, 2016 at 9:19am
I would prefer to try C# and or Swift (depending on target platforms) rather than Java (unless your target is just android of course). Personally I dislike Java in general, and I also very much dislike Java's GUI frameworks.

I also suggest messing around with javascript to make some games that run on the web browser. It's nice because you can put what you make on your personal website to show friends or potential employers, who may not trust, or be bothered to go through the steps, to run you desktop application.
Last edited on Mar 6, 2016 at 9:28am
Mar 6, 2016 at 8:52pm
If you're going to make games, you should look into graphics libraries and/or open source game engines and choose Java or C++ (or whatever) based on what you need to use the libraries and engine.

It really depends on what kind of game you want to make as to what engine you pick, but there are a lot of impressive ones out there open for use. (ex. Unreal engine, which uses C++)
Topic archived. No new replies allowed.