3 ms·
Java Dev here. I dislike its type system. I don't know what all its wonderful tooling is. Vendor support? The vendor (Oracle) will sue you. JIT compilation
by mrkeen 4y ago
Java Dev here.
I dislike its type system.
I don't know what all its wonderful tooling is.
Vendor support? The vendor (Oracle) will sue you.
JIT compilation produces fast code, so fast in fact, that it's only beaten by its one alternative - AOT compilation.
The JVM and its libraries are great, but I prefer the M.
Talent pool? People who are locked into it, like me.
- kaba0 4y ago> I dislike its type system Fair, it is not the best thing under the Sun (pun intended), but it is pragmatic and sufficiently strong (actually, with generics it is quite expressive, you can do almost everything besides actual Monads in it) Come on, it has very good debuggers, you can get very detailed runtime data with basically zero overhead even in production, you can display the number of instances of all the objects and where were they created, and due to the language being uniquely big in both academia and industry it has so many niche tools that you can probably find everything for it. (You can literally statically prove a sort function with JML for example). That Oracle part is just bullshit — oracle open-sourced the whole platform, made OpenJDK the reference implementation and there are more vendors available for that to choose from than I care to list. What other language can just go on as is if the main corporation behind it would disappear tomorrow? Your sarcasm is not warranted regarding JIT compilation, for code that does the same thing it will be competitive with AOT compiled code. And regarding talent pool, there are more java devs than people living in my country. I’m sure for every “locked in” one there is someone on the other end of the Gauss distribution.
- za3faran 4y agoJava has relatively recently gotten algebraic types with pattern matching + records. I find myself missing this feature anytime I use a language that doesn't support it. > I don't know what all its wonderful tooling is. Excellent refactoring tools by IDEs. Second to none profiling and monitoring (JFR, etc). Excellent debugging tools, profilers, etc. Nothing else comes close frankly. C# it a not so close second. OpenJDK is free. Oracle will not sue you.