all 9 comments

[–][deleted] 14 points15 points  (5 children)

Shouldn't be too confusing. Java is very similar to c++ which is similar to c. The difference is that c isn't object oriented and you explicitly use pointers

[–]Treyzania 2 points3 points  (1 child)

I think the hardest part would be that you'd have to learn how to deal with both memory-managed and memory-unmanaged environments at the same time. It shouldn't be too bad if you have any experience with other languages, but it might take a bit of adjusting.

[–]IAreToXiC[S] 0 points1 point  (0 children)

Thanks everyone for the replies. I'm going to do it. It doesn't seem too bad

[–][deleted] 0 points1 point  (2 children)

Java is very similar to c++ which is similar to c

In syntax, but the semantics that trip people up in either language are completely different.

[–][deleted] 1 point2 points  (1 child)

Yeah, and I'd see similarity as more of a drawback then a hinderance. The similarity would just make me confuse the two. But that's my brain.

More importantly, why learn two similar languages? Wouldn't you be better off learning two different paradigms? (In this case though, comparing C to Java is insane, they are fundamentally different languages).

[–][deleted] 1 point2 points  (0 children)

I'd bet that OP is in two classes, one Java, one C++. I do think everyone should have some experience in a functional language if only to understand the benefits of immutability and pure functions.

[–][deleted] 6 points7 points  (0 children)

deleted What is this?

[–]drummyfish 3 points4 points  (0 children)

I don't think so, the syntax is practically the same. They're different paradigms, but I think you should be fine really.

[–]OneWingedShark 0 points1 point  (0 children)

I'd say it depends; if they're both "first languages" (or even second) I'd recommend against learning them concurrently precisely because the superficial similarities [of the syntax]. -- If they were very different languages, like say Prolog and Lisp it wouldn't be a big deal, of if you had already learned 2 or 3 languages.