+ 1

What are the advantages of c++ over java and vice versa?? I've heard people saying one language better than other I'm confused

14th Aug 2019, 7:57 AM
Saheb Kumar
Saheb Kumar - avatar
2 odpowiedzi
+ 4
Easy. Always try to apply real life experience knowledge to understand anything. Let me ask you some questions. How many computer scientists and engineers think in the same? Compare this question to real life "How many people are identical in everyway?" Answer is no one. So answer to former one is also no computer scientists and engineers approach the computer programming language the same.... Next question "Why not one programming language?" is like "Why there are many countries instead one happy country for our earth? hope you got the answer, because many countries move with different policy and need similarly thus by need there are many different languages exists... Next question "why some new languages replace some older languages, some not?" is like "why some new technology replace some not-so-better old technology in that some particular applications, sometimes not replacing some best old technology? answer is simple, we can read and write books using mobile phones nowadays, but you can't sophisticatedly draw a picture if your artist, you know everyone knows drawing on paper gets them utmost satisfication, still if you want to be great real life artist, then you are going to start with paper, right... And you asked that you are confused with others saying one language is better than other, answer to that is only some languages can be compared that too when they are applied to certain specified application, otherwise you or others should not compare for better language... General purpose languages like C++, Python, Java, etc shouldn't be compared for better language in general sense, which is idoiticity... And not to worry about new or old language it is, because the languages that are no longer in use only to be not learnt now, otherwise old or new language learn based on your need... Hope this reply helps...
14th Aug 2019, 8:42 AM
Ve Sudhakaran
+ 1
Compared to c++, java has simpler code, more readable, safe for memory overflows, more independent of hardware and OS. On the other hand, c++ also has its advantages.
14th Aug 2019, 8:35 AM
zemiak