Quote:(01-04-2017, 09:33 PM)Inori Wrote: [To see links please register here]
Expanding on @[To see links please register here]
'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 [To see links please register here]
, 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.