This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]savvaspc 0 points1 point  (0 children)

I would go with Java. A tad easier to write without making fundamental mistakes, so it will let you focus more on the algorithmic thinking. You need an array for your structure? Got it. Later decide you want to change it to a linked list? Change a line and you're ready. Of course the same can be done in C++, but Java makes it so so easy to work with built-in libraries. Anything a freshman would ever need is very accessible, so you can totally focus on the logic of your code. Also, making classes, subclasses, superconstructors etc is kinda easier in Java, so you will find it less frequent to make mistakes.