+ 2
Java or C++
Hi everybody, i was trying to learn Java but i always find it difficult and i stop learning for a long time, so i decided to stop with java and start to learn C++. so i would like to ask you if i really should stop with java and go to C++ or i must be patient and try again and again with java? if i should follow C++, Thanks!
17 Answers
+ 7
i admit that man!
c++ isnt that low level you are scared of.
loq;
i said simply , C++
because once i started learning java i was completely disapointed ,
the concept of (oop) would be difficult for new learners.
once to be familiar with (pop) other parts would be easy to conceptualize,
when you start with java there is class
while in c++ when you are good with structure then you can go ahead ,
learning about memory management etc will take time but wount be hard !
+ 6
Java 🙌
+ 4
Michael C++ easier compared to Java? lol.
Java isn't low level programming language as C++, C++ came from C and anybody who "borned" into to high level programming languages ( Java, C#, Python etc.. ) will have a hard time understanding C++ because you need to know more about the CPU than any other Language, I'm talking about memory management ( Pointers, References, Accessing memories that doesn't exist ), and all the higher terms like values ( Xvalue, Rvalue, etc... )...
Only C++ developers will understand that frustration when they see the "Segmentation fault core dumped" error.
+ 3
Try to learn Assembler language and you will find both of this languages easy-peasy-lemon-squeezy!
(I'm joking, but it's really important not only to write code, but understand, how does it work in computer)
+ 2
if you go for C++ ,you will find that easy compared to java !
+ 2
C++ uses the only compiler whereas, in Java, compiler and interpreter both are used.
C++ supports operator overloading and multiple inheritances but Java does not.
C++ is more related to hardware in contrast to Java.
C++ does not provide built-in support for internet whereas Java has built-in support for the same. However, C++ supports socket programming that can be used to achieve the same.
C++ uses the concept of header files to include different libraries in the program. Java uses import functionality to include different classes and its methods in the program.
+ 2
java
+ 2
first of all learn for the c++and the next consept u will learn java 😎
+ 2
java🙌
+ 1
You should learn both of them, your goal should never be to just learn one language. It should always be to expand your knowledge of Computer Science.
+ 1
Java
0
He can always use flags for outputting the assembly code that readable for humans. ( I'm talking about C and C++, java using JVM so AFAIK you can't get the assembly output because it's translating into Byte code. )
He don't need to write in Assembly, he need to read Assembly, both are very different.
When he will be able to read Assembly ( if he consider to learn it ) he will be able to make HUGE optimizations when he working on huge projects with C/C++.
0
Anyway, He could learn C++ untill he get Classes with inheritance / friendships etc...
And then learn Java and he will have an understanding of what a class is, and keywords like static, and obv data types int, double etc..
Or "jump with your head into water" and learn everything better, by learning C++ from "Toe to Head", like every person should.
0
java is the best programming language on the planet and also it has lots of opportunity
0
i think you should do c++ first after that go for java.after c++,you easily understand the concept of java 😎
0
И то и другое
- 1
Otabek Olimjonov there is "no" best programming language, every language has it's purposes, pros and cons.
C++ is known for Game Engines, OS's... ( basically for every software that need high performance ).
Java is more used for Simple games, or simple GUI applications.