4 ms·
Java was inspired by C++, wth three large additions, compile-once run anywhere (ergo JIT), GC, and memory safety. Throw the first two out the window and no wond
by paulddraper 10y ago
Java was inspired by C++, wth three large additions, compile-once run anywhere (ergo JIT), GC, and memory safety. Throw the first two out the window and no wonder you aren't impressed.
I would add to that open source libraries which are (1) of high quality and (2) easy to pull in, e.g. Maven. The C++ ecosystem has no package manager, and people write header only libraries blowing up compilation times. With Maven, I can add Guava, Ehcahe, AWS SDK, etc. and their transitive department in about 60 seconds in a simple, consistent way.
- hermitdev 10y agoYeah, Java was inspired by C++, and the designers decided to take the worst ideas and run with them: such as exception specifications. C++ & C# both realized they were a bad idea, and decided to do away with them. Java generics are also fucked up. They could have followed C#, but no, they had to do their own model, and they fucked it up.
- deleted 10y ago[deleted]
- Zombieball 10y agoI kind of get the impression you just want to bash the java language! :p I think the whole eco-system (including dependency management with maven) is definitely worth acknowledging the value of.
- paulddraper 10y agoJava generics hardly could have "followed" C#, seeing as Java released them in 2004, and C# in 2005.