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
-
Java is the worst shit ever!
I am comparing syntactical sugar for automatic conversion of numeric types to absolute nonsense :)))))))) -
Dont do operations on mixed types unless you want trouble. Those types will hunt you, they will find you and they will rape you.
Make up your mind. Do you want to get a int or float? Those things are risky even for advanced coders.
(I can debate about that if somebody disagrees) -
h4rry5lol306y@Gregozor2121 I wouldnt use it but it was at my college test. So thats why I was ranting
-
Pickman6526yIn general avoid the "fake unary" operators in Java if you want to write code that is easy to understand. The logic behind how they work is fine. But it's not obvious to the newbie.
-
"Java is the worst shit ever!"
-> doesn't know how primitive types and operators work
Related Rants
Java is the worst shit ever
This works:
int a = 4;
a *= 4.0;
This doesnt:
int a = 4 * 4.0;
:)))))))))))))
Makes sense
rant
java