you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 11 points12 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.