210
submitted 1 year 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 33 points 1 year ago

PUBLIC STATIC VOID MAIN STRING ARGS

[-] onlinepersona@programming.dev 10 points 1 year ago

INT MAIN INT ARGC CHAR POINTER ARGV ARRAY BODY

[-] WindowsEnjoyer@sh.itjust.works 10 points 1 year ago

Say it with me:

PUBLIC STATIC VOID MAIN STRING ARGS

[-] ultra@feddit.ro 5 points 1 year ago

PUBLIC STATIC VOID MAIN STRING ARGS

[-] floridaman@lemmy.blahaj.zone 3 points 1 year ago

you know how it goes

[-] eerongal@ttrpg.network 2 points 1 year ago

As of java 21, you can actually just use:

void main()

[-] morrowind@lemmy.ml 2 points 1 year ago

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

[-] bionicjoey@lemmy.ca 2 points 1 year 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 -2 points 1 year ago

Java21 is gonna flip your whole world upside down

[-] bionicjoey@lemmy.ca 1 points 1 year ago

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

[-] dlrht@lemm.ee 1 points 1 year ago

This had me burst out in laughter real hard omg

[-] vext01 1 points 1 year ago
this post was submitted on 25 Nov 2023
210 points (97.3% liked)

Technology

59674 readers
3226 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