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.
Which is harder to learn Java or C++ ? - Java forum - developer Fusion
It is harder to program in c than java?
Which is harder, Java or C++?
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.comVideos
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.
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!
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.
C++ is not really that bad. You'll however have more options for shooting yourself in the foot. C++ and Java have some similarities, and they are both object oriented languages. They however have different idioms. For example RAII is very useful in C++, but useless in Java. Java can be a bit boring to learn in the start since there can be a lot of boilerplate code to do something.
They are both absolutely fine languages and you can accomplish the same in both languages. In C++ you'll need to learn to make the debugger your friend. If you somehow dereference null or do other bad things with pointers you'll get a segmentation fault, and you can either spend time hunting in the source, or just fire up the debugger and find where it happens.