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
-
Not trying to defend Java but what looks verbose here is actually just Java using the decorator pattern. So blame the gang of four :P
The File API of Java relies heavily on the use of the deocrater pattern by the way -
donuts238487yVerbose... Just refactor it... I did that with MVVM... and some other stuff...
https://github.com/allanx2000/... -
fana-m3407yIn the case of exceptions I like Java, it's the right balance of information.
C# barley says something. Just 'exception occurred'. I had to guess most time what is wrong.
While PHP dumps the whole content of the ram close to 1GB of txt in the terminal.
As far I encountered. -
ctwx3617yI've seen C# code that looked like hell.... Extreme nesting and extremely long names. Any why the fuck would you start method names with an uppercase letter? Damn...
Java is just great, especially with those tools. 😯 -
#compile with Cython
with open("file.txt","w") as file:
file.write("good things!")
file.write("Oh! Cython is as fast as Java, if not faster") -
@AlgoRythm have you some example?
I'm trying to force me learning Java with all my forces.... Without much results.... For me it would be very useful to have some examples of cases better in Java than in Python *-* -
@eisterman The two lines of code above are from a Minecraft server plugin. It would be possible, yes, but much less practical to use Python.
-
donuts238487y@eisterman one that uses the Android SDK, specifically writes to DB, loads resources from storage, get your current location, n use Google API libraries.. which are packaged in jars 😁
-
@billgates all ok, with the Jar there is a truck for packing with the run-time but I never needed to use it
Never understimate Python
There are other examples of work that are "Java only"? Like some JVM-related work? The PVM is very tiny (sometimes ridiculous) in comparison with JVM... -
@billgates sorry, trick....
I'm switched from Swiftkey to gboard some days ago. It's terrible -
donuts238487y@eisterman I actually did the opposite maybe a year ago... GBoard seems to work better for me...
-
@Jappe because Python is a language simple only at a first look, the OOP of Python is HUGE and often complicated (metaclasses!)
Related Rants
Java is too verbose? Pff, noooo...
undefined
java