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?
Comment on Anon tries programming in Java
kitnaht@lemmy.world 5 weeks agoI’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
com/companyname/net/classes/factory/factoryfactory/worker/lib/bin/refresh/jdk/model/ui/closebutton/press.java
And spread out among a million 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.
perviouslyiner@lemmy.world 5 weeks ago
kitnaht@lemmy.world 5 weeks ago
Thankfully, despite naming them like that, it doesn’t actually seem to have any real purpose.
Hawke@lemmy.world 5 weeks 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 5 weeks 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.
SpaceNoodle@lemmy.world 5 weeks ago
Everything in Java is a hidden pointer