- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
An After-School Program Teaches Teens Java and Python::The students also learn how to design board games and video games
An After-School Program Teaches Teens Java and Python::The students also learn how to design board games and video games
PUBLIC STATIC VOID MAIN STRING ARGS
Say it with me:
PUBLIC STATIC VOID MAIN STRING ARGS
PUBLIC STATIC VOID MAIN STRING ARGS
INT MAIN INT ARGC CHAR POINTER ARGV ARRAY BODY
you know how it goes
As of java 21, you can actually just use:
void main()
You’ll definitely get to use Java 21 in whatever job you get.
It feels like some arcane spell when you first learn it, but once you are familiar with Java, each token in that declaration feels totally justified. Like yeah, the args are an array of strings. Yeah, the main function needs to be static and public. Yeah, it doesn’t return anything inside the JVM, so it’s void.
Java21 is gonna flip your whole world upside down
Yeah my brain still thinks about Java in Java 8 because that was primarily what I worked on when I was a dev.
This had me burst out in laughter real hard omg