RE: Why people think Java is bad and old language? 01-05-2017, 07:15 AM
#10
(01-04-2017, 09:33 PM)Inori Wrote: Expanding on @"Pikami"'s reply:
- No multiple inheritance
- No generic data structure
- Explicit exception handling
- Enumeration types are patchwork
- Verbose and very boiler-plated
If you like the templating (which I try to avoid when picking a language), learn C#. It's almost identical to Java in terms of syntax, plus it runs with the .NET framework (which is now ported to Linux, yay) and doesn't run virtualized.
No multiple inheritance:
Because interfaces specify
only what the class is doing,
not how it is doing it. The problem with multiple
inheritance is that two
classes may define different
ways of doing the same
thing, and the subclass can't
choose which one to pick.
No generic data structure:
In Java 7 (and later), you can
make it shorter with the
diamond operator;
I dk for the last three points.
It's fast remember "Write once, run anywhere".
Yeah I know C# but not so much.
Yeah it's near Java but I hate working on .NetFramework it's not good enught.
Die But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
![[Image: p_237m2jx1.png]](http://c.top4top.net/p_237m2jx1.png)
Click for Free VPN
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
![[Image: p_237m2jx1.png]](http://c.top4top.net/p_237m2jx1.png)
Click for Free VPN