this post was submitted on 31 May 2025
356 points (96.1% liked)

Technology

70750 readers
3486 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] nasi_goreng@lemmy.zip 50 points 3 days ago (1 children)

Lol, as Javanese, It's funny that Javanese ethnic name -> Javanese coffee -> Javanese programming language.

People still keep thinking that I was a programmer or making a typo of Japanese everytime I mention I speak Javanese.

[–] meliaesc@lemmy.world 24 points 3 days ago (2 children)

The language was initially called Oak after an oak tree that stood outside

Things could have been a lot different!

[–] juja@lemmy.world 11 points 3 days ago

Oakscript does have a certain ring to it

[–] funkless_eck@sh.itjust.works 10 points 3 days ago

"fucking oak what the fuck" still works so not that different

[–] Cobrachicken@lemmy.world 140 points 4 days ago (1 children)
[–] AtariDump@lemmy.world 43 points 4 days ago (2 children)

One Rich Asshole Called Lary Ellison

[–] BoycottPro@lemm.ee 14 points 3 days ago* (last edited 3 days ago)

His political contributions are really on brand. He funded election deniers in 2022.

Also I've heard Oracle has a bad reputation when it comes to government contracts, very expensive poor quality software ripping off our taxpayers. I think they ought to be blacklisted or at-least require extra review due to their reputation. CUNY paid Oracle over $600 million and look at what that got them: https://pscbc.blogspot.com/2013/03/cuny-first-computer-system-to-aid.html. To be fair the article does claim that "The project required an expenditure of up to a billion dollars to do it right. CUNY Central offered far less. All but one of the bidders dropped out as a result". I'm confused why it needs to be so expensive, even $600 million seems like way too much.

load more comments (1 replies)
[–] omgboom@lemmy.dbzer0.com 105 points 4 days ago

30 years of pain

[–] wolf@lemmy.zip 41 points 4 days ago (2 children)

Java is IMHO one of the most underrated platforms outside of enterprise environments.

Most people also forget, that Java is not only a language, but also a platform, an ecosystem and active research is applied to many parts of Java.

Concerning Oracle: OpenJDK is actively supported by very different but big and capable companies (IBM, Amazon, Eclipse Foundation...). The quality of the language, libraries and documentation needs people which are payed to work on this, full time.

Bring to this the free IDEs one can get for Java - Eclipse and Netbeans are a little bit old school, but offer everything to build/debug and develop complex software.

Java is not my favorite programming language, but when I want to write interesting software and ensure it will be running for the next decade w/o significant changes, Java is really hard to beat.

Of course, in hindsight we know how to do a lot of things better as they were done in Java. Still, what other open source Language/Platform/documentation with the backing of capable companies and really independent and interoperable builds are out there?

One last note to all people which were damaged by Java in university or school: Usually the teachers/professors/lecturers have no real world experience of software development besides the usually university projects, and for the usual university projects which basically means getting small to midsize projects to run Java is total overkill.

Don't confuse this with real world software projects in the industry, which are mission critical and need to work a decade from now on. Java was always a bread and butter language, but one which learned from other languages and even the verbosity makes sense, once one dives into code written a few years back by another person.

[–] magic_lobster_party@fedia.io 9 points 3 days ago

Usually the teachers/professors/lecturers have no real world experience of software development besides the usually university projects

Adding to this: university projects are built on a relatively short timeframe compared to many industry projects. The growing pains that typically occur after a few years of continuous development is unlikely with the small scale of university projects.

I wouldn’t go to a university professor for advice on how to build a system that will last a decade of development.

[–] KeenFlame@feddit.nu 1 points 2 days ago

My 2 cents is that it would have flourished a lot longer if eclipse wasn't stretched so thin like using a very thick amorphous log that is somehow still brittle? And ugly? As a bookmark.

[–] kirk781@discuss.tchncs.de 71 points 4 days ago (13 children)

Java was also my first introduction to programming as it was included in Computer Science in final year of school (at college, we did the trusty C).

I think they have replaced Java with Python now in schools because of the latter's popularity and also because many would argue, Python is slightly easier to learn than Java.

[–] kescusay@lemmy.world 65 points 4 days ago (8 children)

Python is easy, but it can also be infuriating. Every time I use it, I'm reminded how much I loathe the use of whitespace to define blocks, and I really miss the straightforward type annotations of strong, non-dynamically typed languages.

[–] masterspace@lemmy.ca 30 points 4 days ago

Most overrated language imho. I actually enjoy Java more.

[–] sugar_in_your_tea@sh.itjust.works 15 points 4 days ago (3 children)

You can annotate types in Python, and it's actually pretty nice when used with Pyright/Pylance.

[–] kescusay@lemmy.world 7 points 3 days ago (3 children)

Oh, I know you can, but it's optional and the syntax is kind of weird. I prefer languages that are strongly typed from the ground up and enforce it.

load more comments (3 replies)
load more comments (2 replies)
load more comments (6 replies)

I don’t think weakly- or dynamically-typed languages are a good thing to base computer science curriculum around. Yes, it’s “easier”. But you will genuinely have a FAR better understanding the language and the logic you’re writing in it if you work in the scope of strong and static typing - or, at least have linters that force you to (e.g. mypy for Python)

[–] padge@lemmy.zip 12 points 4 days ago (4 children)

The argument I agree with is that Python is the best language to learn if it's your only language, and Java is the best first language if you're going to learn others. The syntax from Java is shared across so many other languages and it forces you to learn about things like objects and types. You could make an argument for C or C++ but Java's handholding is more beginner friendly imo

load more comments (4 replies)
[–] MolecularCactus1324@lemmy.world 10 points 4 days ago* (last edited 4 days ago) (3 children)

I learned C++ as my first language and it was a great way to understand the core issues of a programming language — like memory allocation, memory freeing, the difference between memory addresses and the memory contents themselves, threads, system calls, etc. Java obscures these nuances to a degree, but Python is too friendly and makes it hard to understand them at all.

I believe if you learn C++ you can easily learn any other language. After C++, I learned Python, JavaScript, and Java in a few days each without formal instruction. If you learn Python first, you’re probably going to struggle learning those other languages because you haven’t grasped the lower level concepts yet and may never if you’re not in a formal setting that forced you to learn them.

No one disagrees that Python is easier, but if your goal is to get a foundation in programming that allows you to easily pick up other languages, you should start with C++.

load more comments (3 replies)
load more comments (9 replies)
[–] zout@fedia.io 50 points 4 days ago (1 children)

I remember Java being seen as the best thing ever in the 90's, and it was considered "cool" at that time. So cool even, that it became the programming equivalent of a hammer, every coding challenge looked like a nail for which you could use it.

[–] dustyData@lemmy.world 44 points 4 days ago (19 children)

It's a cycle all popular languages go through. First only experimental applications and super opinionated programmers use it. Then everyone wants to use it for everything. Then it finds a niche where it excels and settles.

I remember Java, C++, Python, and JavaScript going through those phases as well. Currently, everything is Rust.

load more comments (19 replies)
[–] neidu3@sh.itjust.works 20 points 4 days ago* (last edited 4 days ago) (6 children)

I liked Java a lot more before Oracle acquired Sun. I've used Oracle databases enough to hate Oracle with the passion of a supernova.

[–] deathmetal27@lemmy.world 17 points 3 days ago

I think I need to clear a common misconception people seem to have here: Oracle has very little to do with Java.

At most, Oracle has the following connection to Java:

  • Own the trademark
  • Have a build of the JDK/JRE with commercial support.

However, Java as a language's baseline comes from OpenJDK, an open source (GPL 2.0) community project which is upstream to several builds including Oracle's JVM. It follows a "bazaar" like development model similar to the Linux kernel where you can see their mailing lists and track what's being worked on. Anyone can contribute and the code is on Github: https://github.com/openjdk/jdk.

That being said, you don't even need to use Oracle's JDK (it sucks IMO) and use one of the community provided builds of OpenJDK. OpenJDK builds are provided by Eclipse, Amazon, Azul, Bellsoft and even Microsoft provides JDK/JRE builds. These are free of cost and have longer term support than Oracle's offering.

load more comments (5 replies)
[–] taiyang@lemmy.world 27 points 4 days ago

I keep Java installed for one thing and one thing only... modded Minecraft.

[–] YurkshireLad@lemmy.ca 13 points 3 days ago (5 children)

I think Java was first released just after I graduated. I do program Java at my day job though, and I don’t mind it. It has its quirks but I find I can express myself using Java, but I probably try to think towards much in OO paradigms when I design and code.

load more comments (5 replies)
[–] Zenith@lemm.ee 5 points 3 days ago (1 children)

This dude came to my spouses work to do some sort of work/help (I don’t know the exact details) and someone wrote a doc he needed to review. It was a lot of work not just like a few notes but a proper doc and all he wrote back upon “reviewing” it was a thumbs up emoji!! 👍🏻 everyone was shocked lol, no feed back, no notes nothing just 👍🏻

[–] who@feddit.org 20 points 4 days ago* (last edited 4 days ago) (6 children)

I attribute Java's uptake to a large amount of marketing and support, which led to a massive ecosystem. Even a mediocre language like this one can find success when propped up like that.

[–] magic_lobster_party@fedia.io 19 points 4 days ago (7 children)

OOP was hype during the 90s. Schools adapted their curriculum to this trend. So they needed a programming language for this, and Java became the choice. C++ is too tricky as a first language.

The result is that a lot of people knew Java, which means it’s a good choice of language if you want to recruit programmers.

I believe most of Java’s success was luck. It released at the perfect time.

load more comments (7 replies)
[–] hex123456@sh.itjust.works 15 points 4 days ago (1 children)

Java was the new hotness when I was in the middle of my comp sci degree. The biggest benefit I found was javadocs. Other languages had shit documentation that usually didn’t match reality in comparison.

load more comments (1 replies)
[–] rottingleaf@lemmy.world 7 points 3 days ago

JVM isn't mediocre. Really-really.

I don't like something aesthetically about Java, can't quite nail what, and don't like long-long namespace strings, but these are my personal limitations.

Ah. I also don't like OOP.

load more comments (3 replies)
[–] _NetNomad@fedia.io 22 points 4 days ago (4 children)

Unlike other older languages, such as Cobol and Fortran -- which are still used, but almost always in legacy projects -- Java has constantly evolved to meet new demands while maintaining backward compatibility.

can't speak on the FORTRAN claim but with COBOL this couldn't be less true. last i checked the newest Enterprise COBOL LTS is newer than Java's

[–] 1rre@discuss.tchncs.de 11 points 4 days ago (3 children)

The difference is people still write Java, regardless of whether it's a dated pos or not, so the use cases have evolved

Then there's the use of the JVM/JRE which have evolved even more due to Scala, Clojure & Kotlin

load more comments (3 replies)
load more comments (3 replies)
[–] chronicledmonocle@lemmy.world 19 points 4 days ago (6 children)

A language I wish would die already, but there are still vendors that program in it, along with freaking Tomcat hosted applications. EduTech is still stuffed to the gills with it.

load more comments (6 replies)
[–] gamer@lemm.ee 9 points 4 days ago (3 children)

I used Java years ago for Android dev, but stopped when I stopped doing that. Every once in a while I'll get the itch to work on a new project, and always wonder if Java would be a good idea.

My hesitance is that I don't trust Oracle (and don't know to what extent they're involved nowadays), I'm not familiar enough with the ecosystem to know what is legacy crap to avoid, and I think it's generally seen as an uncool language, and I'm way too cool to be taking such risks.

[–] MaggiWuerze@feddit.org 13 points 4 days ago (4 children)

If you want to do something java like, try Kotlin. Its a more modern take on java and not developed by Oracle

load more comments (4 replies)
[–] jenesaisquoi@feddit.org 7 points 3 days ago (2 children)

Kotlin is now the language of choice for Android.

load more comments (2 replies)
load more comments (1 replies)
load more comments
view more: next ›