380
you are viewing a single comment's thread
view the rest of the comments
[-] kitnaht@lemmy.world 30 points 4 days ago* (last edited 4 days ago)

I'm pretty sure Java doesn't have pointers, so writing a hello world application isn't gonna fuck up nearly that hard.

The one thing he forgot though is that your source file is probably in the folder

com/companyname/net/classes/factory/factoryfactory/worker/lib/bin/refresh/jdk/model/ui/closebutton/press.java

And spread out among a bunch of other directories, and the java file is like...3 lines. But there are 10k files spread all around directories like this that are all 3 lines a piece with a class definition.

[-] SpaceNoodle@lemmy.world 15 points 4 days ago

Everything in Java is a hidden pointer

[-] perviouslyiner@lemmy.world 6 points 4 days ago

wait, so when .io gets deregistered, are a load of companies going to have to rename their root directories and rewrite all of their include statements?

[-] kitnaht@lemmy.world 16 points 4 days ago* (last edited 4 days ago)

Thankfully, despite naming them like that, it doesn't actually seem to have any real purpose. Apparently they just wanted to make sure that different companies making different libraries didn't accidentally use the same name for their project....

[-] Hawke@lemmy.world 6 points 4 days ago

That’s exactly the reason. And also no company is going through the bother to refactor that shit, so everything is named based on some other company 5 mergers and acquisitions ago.

[-] Valmond@lemmy.world 2 points 4 days ago

They have sort of pointers, like references, that can be null...

You just "new" stuff to it and let the "garbage" collector deal with freeing stuff up. When it feels like it.

this post was submitted on 13 Nov 2024
380 points (97.0% liked)

Greentext

4402 readers
814 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS