Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
People hate Java because it lacks real pointer shit and forces you to the stupid automatic memory management.
Conversely, people hate C(++) because of all the real pointer shit and because you have to manage memory mostly yourself. -
skylarmb1966yI think the reason I personally hate Java is summed up by this repo. FizzBuzz Enterprise Edition: https://github.com/EnterpriseQualit...
-
Kanimaru7766y@ScribeOfGoD inconsitance api. Camelcase, underscores or something else? I stopped using it with v5 dunno if it's better yet.
Just for example.
Missing thread support as another thing. -
@Kanimaru if you only went to php 5 then you're definitely out of the scope of things
-
Sefie16446yFor me it is, that I can do in C# most relevant things I would do in java. But C# has a much nicer Syntax and standard library (.Net/Core).
So there is no reason to struggle more for a similar result by using java. -
import com.hate.Reason;
Reason reason = ReasonFactory.fromReason("Java is very fucking verbose and that gets on my nerves");
System.out.println(reason.getReason().toString()); -
hasu23186yIn my case it's because the ROS version of java is barely supported and someone decided from our project to use it at some point. Now it just makes building things slower. Also someone restructured the rosjava maven dependency repo and it took a lot of time and nerves to adjust the system accordingly. Sometimes it would build, sometimes not and it's always rosjava that has these issues...
Otherwise... I kind of don't like the style of it. That's all. -
Major reason for hating it was long syntax. All of it changed with Java 8 and introduction of functional programming. It made language syntactically reasonable.
-
eeee31236y@oudalally how can you call Java expressive and boilerplate+verbose at the same time? They are opposites! Expressive means (something like) write a little that reads easily and does a lot. Verbosity and boilerplate code are really not expressive, unless you have a sickly desire to introduce a whole lot of eyestrain.
-
eeee31236y@redpanda101 learn Kotlin, you won't miss Java after 10000 lines of code, zero NullPointerExceptions and a year of true Kotlin goodness and sanity.
-
eeee31236y@oudalally you're right. Then again, Kotlin is fully JVM compatible, so it is more expressive than Java (which it is by design). Also, apparently, expressiveness is a matter of interpretation: I think lambdas are perfectly understandable and readable, more than anonymous function / callable / runnable classes or alternatives.
-
musician6656yVery verbose and no real higher order functions (yes kinda with lambdas but its a pain). Its a grest language to beginn with tho in my opinion.
Related Rants
Why do people hate java?
question
if you hate java i hate you
java is love
java