๐ŸŒ
Reddit
reddit.com โ€บ r/learnprogramming โ€บ is java the hardest language or is c even harder?
r/learnprogramming on Reddit: Is Java the hardest language or is C even harder?
July 5, 2018 -

I basically started with C at school, then went to Java, then small python and now a lot Javascript. I have a book about data structures which is for Java ( i know I could do in javascript etc. ) and everything is super difficult.

Basically there is no concept that I can carry from Javascript to Java. Everything has to be static or non-static. You have to be super careful about something being non-static because you can't use it in static etc.

Like to read a file and understand so I can do the first problem there is like 7 chapters in java tutorial before it is even covered.

๐ŸŒ
Sololearn
sololearn.com โ€บ en โ€บ Discuss โ€บ 913648 โ€บ which-language-is-harder-c-or-java-
Which language is harder c++ or java? | Sololearn: Learn to code for FREE!
I think you'd probably find C++ harder. ... C++ allows more legal ways (compiles without errors) to screw things up. As such, there are things you can do with it that are difficult in Java.
Discussions

Which is harder to learn Java or C++ ? - Java forum - developer Fusion
I learned c++ first, and found it harder to learn that java. But that could have been because it was my first language. What I am certain of though, is that java is much more sought after now than C++. So it may be more beneficial for you to learn that first to become a java script programmers. More on developerfusion.com
๐ŸŒ developerfusion.com
February 19, 2021
It is harder to program in c than java?
Is this a serious question? Writing production software in C is insanely hard. C is very low level while Java is an much higher language offering a lot of convenient features (at the cost of performance). While programming C is much harder, I still do not think that working in it is because nobody is going to demand extensive software written in C from the ground nowadays. Maybe for some specific tasks but not for big enterprise software like which you would write in Java. Overall, I think these languages can not be compared in terms of difficulty because the use cases are usually so different. I programmed both but due the fact that I only used C to interact with some controllers but use Java to write business software, I feel like Java is much more difficult. Still the only reason is that the tasks I am solving with Java are. Not because of the language itself (it is very easy). The C language is also very easy in principle but it lacks a lot of features. More on reddit.com
๐ŸŒ r/learnprogramming
6
4
May 24, 2022
Which is harder, Java or C++?
Determining whether Java or C++ is harder can depend on various factors, including individual programming experience, specific project requirements, and the programming paradigms used. More on designgurus.io
๐ŸŒ designgurus.io
1
10
October 17, 2024
Which language is harder; C++ or Java?

I would say C++ is "harder" because it requires manual memory management (i.e. no garbage collection), allows for explicit pointer manipulation, and generally has much more areas with undefined behavior.

More on reddit.com
๐ŸŒ r/learnprogramming
3
1
July 22, 2017
๐ŸŒ
Cplusplus
cplusplus.com โ€บ forum โ€บ general โ€บ 43614
How much easier is Java compared to C++ - C++ Forum
May 24, 2011 - let's just say it's easier to shoot yourself in the foot with C++ than with Java, but it may actually depend on how smart you are if you are really smart, then Java and C++ are equally easy/hard if you are average, then C++ can be much harder than Java learning Java wouldn't preclude you from learning C++, so why not learn it first if you feel that C++ could be too hard?
๐ŸŒ
Java Limit
javalimit.com โ€บ home โ€บ which is harder java or c?
Which is Harder Java or C?
September 24, 2024 - The first question you may have is which one is easier to learn: Java or C? Java is easier to learn than C, and itโ€™s designed to avoid manual memory management and pointer manipulation.
๐ŸŒ
Quora
quora.com โ€บ Which-one-is-easier-C-or-Java
Which one is easier, C or Java? - Quora
Answer (1 of 32): At least give it a try then decide So before even starting you have created a myth in mindset that which one is easy or hard, or java might be hard. Coming to your question Let me tell you that neither java is easy nor C is hard . Even both are interesting as well.what happen...
๐ŸŒ
Quora
quora.com โ€บ Which-is-hardest-Java-C-or-C++
Which is hardest, Java, C or C++? - Quora
Answer (1 of 13): C is the hardest programming language. If your question was โ€˜Which language is the hardest to learn?โ€™ I would say C++, but rather if your question was โ€˜Which language is the hardest to use?โ€™ I would say C. When you create a large project in C, and if it is efficient enough, you ...
๐ŸŒ
Quora
quora.com โ€บ Is-programming-in-Java-more-difficult-than-C
Is programming in Java more difficult than C? - Quora
November 2, 2017 - Answer (1 of 23): TL;DR Version : There are some concepts which are difficult in C, and there are some concepts which are difficult in Java. Longer Answer : Let me explain this difference of difficulty using some programming in C & Java. [Note: Iโ€™ll explain each line of code using either sing...
๐ŸŒ
Datatas
datatas.com โ€บ why-is-c-so-much-harder-than-java
Why is C so much harder than Java? - Datatas
November 14, 2023 - One of the main reasons why C is harder than Java is that it is a low-level language. This means that C provides direct access to the computerโ€™s hardware and memory, making it more complex to work with.
Find elsewhere
๐ŸŒ
Career Karma
careerkarma.com โ€บ blog โ€บ tech guides โ€บ java vs c: differences compared and contrasted
Java vs C: Compared and Contrasted | Career Karma
September 9, 2022 - It also has automatic garbage collection, and itโ€™s farther from machine code in the first place. Because of this C code tends to run faster than Java, but difference depends on whatโ€™s being done and how well the code has been optimized.
๐ŸŒ
Sololearn
sololearn.com โ€บ en โ€บ Discuss โ€บ 10751 โ€บ is-c-harder-than-java
is c++ harder than java? | Sololearn: Learn to code for FREE!
Sololearn is the world's largest community of people learning to code. With over 25 programming courses, choose from thousands of topics to learn how to code, brush up your programming knowledge, upskill your technical ability, or stay informed about the latest trends.
๐ŸŒ
The Knowledge Academy
theknowledgeacademy.com โ€บ blog โ€บ c-vs-java
Difference Between C and Java Language: Complete Guide
5 days ago - C is a low-level language that influenced many others, such as C++, C#, and Python. Java is a high-level language that is easier to use than C. Choosing the better option depends on the context and the goal.
๐ŸŒ
developer Fusion
developerfusion.com โ€บ thread โ€บ 54428 โ€บ which-is-harder-to-learn-java-or-c
Which is harder to learn Java or C++ ? - Java forum - developer Fusion
February 19, 2021 - I learned c++ first, and found it harder to learn that java. But that could have been because it was my first language. What I am certain of though, is that java is much more sought after now than C++. So it may be more beneficial for you to learn that first to become a java script programmers.
๐ŸŒ
Reddit
reddit.com โ€บ r/learnprogramming โ€บ it is harder to program in c than java?
r/learnprogramming on Reddit: It is harder to program in c than java?
May 24, 2022 -

Hello guys! I'm a system administrator that got a job offer where i need to peogram in java and C, i knoe how to program in a variety of languages, but of course i don't know everything, i know the basics of java and C, php.. etc.

It is harder to program in c than in java? idk what the enterprise could ask me to do, so i would like to get an idea of what shpuld i priorize the learning.

๐ŸŒ
Reddit
reddit.com โ€บ r/learnprogramming โ€บ which language is harder; c++ or java?
r/learnprogramming on Reddit: Which language is harder; C++ or Java?
July 22, 2017 -

Hey, guys!

I'm going to do web development at uni after summer, but I'm also interested in learning some object-oriented programming. The uni I'm going to is offering courses on C++, but I've heard it can be a pain to learn. I'd prefer a course in Java, but they sadly don't have any of that at the faculty I'm going to. I'm contemplating either giving the C++ class a try or try to learn Java on my own, I just don't know if I'll be able to with my other classes on the side. That's why I want to hear what you've got to say about said languages! Do you find one harder than the other, or possibly recommend one? For someone with no prior programming background, would you not recommend it? All tips and advice are welcome, feel free to give detailed descriptions if you've got the time for it. Thanks!

๐ŸŒ
Coursera
coursera.org โ€บ coursera articles โ€บ computer science and engineering โ€บ software development โ€บ java vs. c++ comparison: what are the differences in these programming languages?
Java vs. C++ Comparison: What Are the Differences in These Programming Languages? | Coursera
September 10, 2025 - In as little as three months, you can design and deploy Java applications while gaining hands-on experience with essential tools like NoSQL and Docket. Most experts will tell you that Java is easier to learn. Itโ€™s a newer language than C++ ...
๐ŸŒ
HackerNoon
hackernoon.com โ€บ 7-hardest-programming-languages-to-learn-in-2023
7 Hardest Programming Languages to Learn in 2023 | HackerNoon
November 30, 2023 - If you're a thrill seeker and up for a challenge, you're in luck because I'm here to give you a rundown of the top most mind-bending programming languages.
Top answer
1 of 1
77

Parsing C++ is getting hard. Parsing Java is getting to be just as hard.

See this SO answer discussing why C (and C++) is "hard" to parse. The short summary is that C and C++ grammars are inherently ambiguous; they will give you multiple parses and you must use context to resolve the ambiguities. People then make the mistake of assuming you have to resolve ambiguities as you parse; not so, see below. If you insist on resolving ambiguities as you parse, your parser gets more complicated and that much harder to build; but that complexity is a self-inflicted wound.

IIRC, Java 1.4's "obvious" LALR(1) grammar was not ambiguous, so it was "easy" to parse. I'm not so sure that modern Java hasn't got at least long distance local ambiguities; there's always the problem of deciding whether "...>>" closes off two templates or is a "right shift operator". I suspect modern Java does not parse with LALR(1) anymore.

But one can get past the parsing problem by using strong parsers (or weak parsers and context collection hacks as C and C++ front ends mostly do now), for both languages. C and C++ have the additional complication of having a preprocessor; these are more complicated in practice than they look. One claim is that the C and C++ parsers are so hard they have to be be written by hand. It isn't true; you can build Java and C++ parsers just fine with GLR parser generators.

But parsing isn't really where the problem is.

Once you parse, you will want to do something with the AST/parse tree. In practice, you need to know, for every identifier, what its definition is and where it is used ("name and type resolution", sloppily, building symbol tables). This turns out to be a LOT more work than getting the parser right, compounded by inheritance, interfaces, overloading and templates, and the confounded by the fact that the semantics for all this is written in informal natural language spread across tens to hundreds of pages of the language standard. C++ is really bad here. Java 7 and 8 are getting to be pretty awful from this point of view. (And symbol tables aren't all you need; see my bio for a longer essay on "Life After Parsing").

Most folks struggle with the pure parsing part (often never finishing; check SO itself for the many, many questions about to how to build working parsers for real langauges), so they don't ever see life after parsing. And then we get folk theorems about what is hard to parse and no signal about what happens after that stage.

Fixing C++ syntax won't get you anywhere.

Regarding changing the C++ syntax: you'll find you need to patch a lot of places to take care of the variety of local and real ambiguities in any C++ grammar. If you insist, the following list might be a good starting place. I contend there is no point in doing this if you are not the C++ standards committee; if you did so, and built a compiler using that, nobody sane would use it. There's too much invested in existing C++ applications to switch for convenience of the guys building parsers; besides, their pain is over and existing parsers work fine.

You may want to write your own parser. OK, that's fine; just don't expect the rest of the community to let you change the language they must use to make it easier for you. They all want it easier for them, and that's to use the language as documented and implemented.

๐ŸŒ
Narkive
programming.comp.narkive.com โ€บ W1VfAQ9R โ€บ how-much-harder-is-programming-in-c-compared-to-java
How much harder is programming in C compared to Java?
Once you start getting into pointers, ... libraries available to you in Java, you would need to write yourself in C. Overall, I would say coding in Java is easier than coding in C....
๐ŸŒ
Quora
quora.com โ€บ Why-are-C-C-often-considered-harder-than-Java-and-other-programming-languages-What-aspects-of-these-languages-make-them-more-challenging-to-learn-and-use
Why are C/C++ often considered harder than Java and other programming languages? What aspects of these languages make them more challenging to learn and use? - Quora
Answer (1 of 3): Here are few reasons why C/C++ are generally accepted as more difficult to learn and to be proficient at than Java: Memory management In C/C++, you have to be mindful of how you use the memory, and you should remember to clean ...