Why Java is Better than C and C++

preview_player
Показать описание
Can you tell me why Java is better than C and C++?

Java is on virtually every machine out there, because it is IT agnostic.

What is IT agnostic?

It means that Java does not care what device it is on, be it tablet or PC, and it does not care what operating system it works with, from Apple iOS to Microsoft to Linux to Ubuntu.

At least you covered the whole alphabet of OS there. Why else is Java so popular?

Java is growing in popularity because it is being taught in college level programming classes. C and C++, being over twenty years old, are not taught as much for fear students get mad at being taught something obsolete.

It is like teaching Fortran, or the next Fortran, Ruby on Rails.

Java does have security holes. That's why it has to be continually updated.

Part of that is due to the open architecture. But you'll get more security holes using less supported languages like Lua or JavaScript.

To build on that, Java is better for web projects and web functionality than C. You can build an enterprise application in C or C++, but apps will be in Java or Python or another OOP language.

The ability to tailor graphics and audio card sound generation are why C++ and C are still used in gaming at all.

You do not have to learn so much syntax related to controlling hardware functions like the device drivers and audio card, which is why Java is easier to learn.

In Java, everything is a class.

And that's why class inheritance is such a pain. But Java does have the Java Virtual Machine, a compiler so good languages other than Java use it.

Java does not let you use concrete methods. Java is sometimes so convoluted it is hard to figure out.

C++ code compilers are on nearly every type of hardware. However, once it complies to that device, the code is not easily transferable to something else.

And in a mobile world, lack of portability is every reason not to use it.
Рекомендации по теме
Комментарии
Автор

I like how all the comments got deleted and the votes disabled
hahahahahaa

the-bgrspot
Автор

i am a strict c/c++ guy and also plan to learn java in the future, but i consider languages like a pen, a mere instrument, the real design and magic is in the hands of the programmer not the language but also it does matter sometimes, but anyone who is good in his/her language can impement anything in the language of their choice.

kps
Автор

Java better than c++? in your dreams!!!

tsukuyomin
Автор

I Learned C++ and i WILL code in C++
End.

mrtranzistor
Автор

Java better than c++? Yes! In your dreams! XD

msxk
Автор

I got triggered and cured thanks to the comments

hanneshauptmann
Автор

In my opinion this video is just mind of the author, who probybly doesn't work much with C++. Both languages are great and acually very simillar so i don't know why in the internet, there is a huge battle betwen java and C++ coders....
if(comment==mistekes)
{
cout<<"sorry for my english";
}else
{
return 0;
}

EDIT:
But when i read the comments, i see the C++ won this battle long time ago ;)

kacperroszczak
Автор

if we didn't study c++ and we want to study java, does it

Kartikey-hpwz
Автор

This video is misleading and biased. Never compare C++ to Java.
Do your research properly...

davidmuriungi
Автор

Horrible. I feel trolled on so many levels.

photoallergic
Автор

nodejs(javascript)(compiled to c++) > Java
C# > Java
I mean i dont dislike Java, but its pretty much for hippies these days.

rspbrryAmy
Автор

Why Java is Better than C and C++:
It's not

xskavxa
Автор

hey guys i am 15 year old, should i learn java or c++ ?please help me

radhouaneblilita
Автор

We can't compare languages with a soo big difference like this.... Choose the C, the C++ or Java depend why will make the program and for what reasons...
In example, if you want to make a multi-platform app > Java is the best
But if you want to make a heavy game > C++ is better for get more performance

dnxfr
Автор

Short answer:





It isn't.

valizeth
Автор

every language has its use. just don't like Java much, c++ clicks a bit better in my head

geekymutt
Автор

Java is more convenient than c++, but not better than c++. However, this video did a great job breaking down some major differences between the two languages that a lot of people probably don't know.

Ziabatsu