209
submitted 9 months ago by L4s@lemmy.world to c/technology@lemmy.world

An After-School Program Teaches Teens Java and Python::The students also learn how to design board games and video games

you are viewing a single comment's thread
view the rest of the comments
[-] Linkerbaan@lemmy.world 34 points 9 months ago

PUBLIC STATIC VOID MAIN STRING ARGS

[-] onlinepersona@programming.dev 10 points 9 months ago

INT MAIN INT ARGC CHAR POINTER ARGV ARRAY BODY

[-] WindowsEnjoyer@sh.itjust.works 10 points 9 months ago

Say it with me:

PUBLIC STATIC VOID MAIN STRING ARGS

[-] ultra@feddit.ro 5 points 9 months ago

PUBLIC STATIC VOID MAIN STRING ARGS

[-] floridaman@lemmy.blahaj.zone 3 points 9 months ago

you know how it goes

[-] bionicjoey@lemmy.ca 2 points 9 months ago

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.

[-] Linkerbaan@lemmy.world -1 points 9 months ago

Java21 is gonna flip your whole world upside down

[-] bionicjoey@lemmy.ca 1 points 9 months ago

Yeah my brain still thinks about Java in Java 8 because that was primarily what I worked on when I was a dev.

[-] eerongal@ttrpg.network 2 points 9 months ago

As of java 21, you can actually just use:

void main()

[-] morrowind@lemmy.ml 2 points 9 months ago

You'll definitely get to use Java 21 in whatever job you get.

[-] dlrht@lemm.ee 1 points 9 months ago

This had me burst out in laughter real hard omg

this post was submitted on 25 Nov 2023
209 points (97.3% liked)

Technology

58133 readers
4333 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS