this post was submitted on 13 Nov 2024
809 points (96.1% liked)

Greentext

4388 readers
1077 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] tyler@programming.dev 7 points 1 day ago (1 children)

The date of the post is from this week so it’s not accurate at all. Java does support main outside of a class now, and it doesn’t need to be static, or take args. You wouldn’t use JavaFX in this day and age either. Installing the jdk is absolutely nothing especially if you’re using IntelliJ as it will install it for you and manage everything. No library is even close to 3gb.

This entire post sounds like it was written by someone that last touched Java in 2010.

Source: am a Kotlin dev. Java sucks. None of these are the reasons why.

[–] Ziglin@lemmy.world 2 points 1 day ago

Depends on the version of Java you have to use and most places still say to put it in a class because they're outdated too. (Is anything about Java modern?)