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
-
Your java formatting is all wrong. Braces go at the end of the line! Also, String[] args, not String args[]!
I think I missed the point... -
I seriously dislike Java, but... you compare _functions_ to a _class_ methods! And don't tell me you can't do a simple function without a class in Java.
-
and print is even from py2, so it's not even a function, rather statement - comparing 3 different things :P
-
Obviously Java! without a cup of java, no coding in any language would be possible.
-
Depends on the project, for bigger ones I'd go for java since it's just more readable to me, for smaller scripts I love python and C is reserved for when I really need a reason to commit suicide.
-
@tahnik author probably compares simplicity or readability. But to compare you need to have similar stuff, not completely different to have an efficient comparison.
With python its "ok", but java has a class. That's just additional unnecessary stuff that makes Java look bad, because the text is long, too much words and other stuff. And it's super-bad to show it to beginners for lang comparison.
Which is better?
undefined