this post was submitted on 23 Jan 2024
360 points (96.6% liked)
Fediverse
28475 readers
841 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ok, so now build an api that can handle 100k iops with a cache, db calls and everything else, and tell me how simple that is in Python.
Java and Python, like any programming languages don’t do everything well. They do a few things well, and most things adequately. Python is great for scripting and small applications, but once you’re hundreds of files into a corporate software project it becomes near unreadable. Java is great for large scale applications but suffers if you want to make a single purpose app.
I’d also argue that yes, the Java is more readable at scale. Everything is explicitly typed, braces are so much better than indents (is something 20 indents or 21 idents deep, I never know), semicolons are useful for delineating ends of statements.
It sounds like your only expose was Java in uni and have never worked with anything at scale.
You don't know because you're a mongoloid who's never heard of an IDE or a well configured text editor. Stop blaming your own inadequacies on tools and accept the fact you're a shit dev.
Like I said - Python and Java are different categories so I agree they aren't competing. But you do know Dropbox, Netflix and Reddit are built in Python don't you?
However, Rust and Java are competing and that scares you. Because Rust has all the benefits of Java with none of the downsides. The only benefit Java has (like COBOL) is inertia. Even Google want rid of Java and it's why they created Kotlin.
Java has reached it's zenith and s in decline. It's only a matter of time before tech debt and new concepts kill the language off and it goes the way of COBOL and Fortran.
Just accept it with grace and stop fighting the inevitable.