public static void main(String[] args) is dead
by: Ethan McCue
As of September 16th, year of our lord 2025, this is no longer the first Java program you need to write.
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("What is your name? ");
String name = scanner.nextLine();
System.out.println("Hello, " + name);
}
}
This is.
void main() {
var name = IO.readln("What is your name? ");
IO.println("Hello, " + name);
}
Good Fucking Riddance.
I'll be nuanced later, we've all e...
Read more at mccue.dev