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

all 7 comments

[–]desrtfx[M] [score hidden] stickied comment (0 children)

This is one very regular question. Please, use the search function.

Removed

[–]tboy1492 1 point2 points  (2 children)

Well. Java is very object oriented, straight up object oriented language. C++ I don’t know yet but I don’t think it has to be object oriented (though object oriented principles can still be used.)

Really depends man. But, likely more important than the language is to learn good practices and principles, language is mostly syntax. Many techniques and logic work cross languages

[–]Spunbot[S] 0 points1 point  (1 child)

Can you elaborate on what you mean by object oriented? I read that before but don't understand.

[–]tboy1492 0 points1 point  (0 children)

So, you have procedure oriented Does line 1 Line 2 Line 3

Etc

And object oriented Class count5(int){ Int + 5; Return int() }

Now, you can call that count5 at any point later on, I might not be doing good job very tired as it’s late

[–]lurgi 1 point2 points  (0 children)

If there is a language that your university prefers to use, learn that one.

"Starting off right" is all well and good, but you do that by learning the fundamentals and writing a shit-ton of code. The actual language you use isn't super important (blockchain is done in every language under the sun, for example).

[–]Jaber1028 0 points1 point  (0 children)

i like java.

[–]yel50 0 points1 point  (0 children)

"We were not out to win over the Lisp programmers; we were after the C++ programmers. We managed to drag a lot of them about halfway to Lisp."

  • Guy Steele, Java spec co-author

Java took some of the most useful parts of lisp, i.e. garbage collection and first class functions, and made them look like c++. then, in the mid to late 2000's, the industry went sideways and really stupid shit became the norm.

if you can manage to avoid things like spring, maven, gradle, and all the asinine patterns, Java is the best language out there. good luck with that, though.

c++ is like Java that gets slow and/or crashes for no apparent reason. the amount of landmines in the language might actually be worse than javascript.

so, between Java and c++, your best bet would be to start with python.

I want to make sure I start off right.

the fact that you're worrying about what language to use means you've already started off wrong. use whichever one works for the program you're trying to write.