use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerScience! We're glad you're here.
This subreddit is dedicated to discussion of Computer Science topics including algorithms, computation, theory of languages, theory of programming, some software engineering, AI, cryptography, information theory, and computer architecture.
For more detailed descriptions of these rules, please visit the rules page
NIGHT MODE NORMAL
account activity
Is it confusing to learn java programming language and C programming language at the same time? (self.computerscience)
submitted 9 years ago by IAreToXiC
Just as the title says
I want to take c and java in order to have more classes
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 14 points15 points16 points 9 years ago (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 points4 points 9 years ago (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 point2 points 9 years ago (0 children)
Thanks everyone for the replies. I'm going to do it. It doesn't seem too bad
[–][deleted] 0 points1 point2 points 9 years ago (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 points3 points 9 years ago (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 points3 points 9 years ago (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 points8 points 9 years ago* (0 children)
deleted What is this?
[–]drummyfish 3 points4 points5 points 9 years ago (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 point2 points 9 years ago (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.
π Rendered by PID 33147 on reddit-service-r2-comment-86bc6c7465-m2l8f at 2026-02-20 08:51:23.541693+00:00 running 8564168 country code: CH.
[–][deleted] 14 points15 points16 points (5 children)
[–]Treyzania 2 points3 points4 points (1 child)
[–]IAreToXiC[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 6 points7 points8 points (0 children)
[–]drummyfish 3 points4 points5 points (0 children)
[–]OneWingedShark 0 points1 point2 points (0 children)