this post was submitted on 25 Nov 2023
185 points (97.0% liked)

Technology

59402 readers
4094 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
 

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
[–] soulfirethewolf@lemdro.id 2 points 11 months ago (2 children)

Java is a good language if you're a beginner, but if you've already coded before in other languages, it's going to suck.

[–] sebsch@discuss.tchncs.de 4 points 11 months ago (1 children)

Especially for beginners its a bad language. You have the understand artificial concepts about classes, objects, abstract states before you re able to learn the important stuff like if/else, looping etc pp.

I would always give beginners a language which is at least in their way as possible.

[–] Pipoca@lemmy.world 1 points 11 months ago

You don't really have to.

You can just handwave public static void main, and only deal with primitives, then static functions, before introducing objects.

That's what they did at my high school. It's weird, and there's much better ways and languages to introduce procedural programming, but it's possible.

[–] realharo@lemm.ee 3 points 11 months ago* (last edited 11 months ago)

They should've just picked Kotlin.

It also encourages good basic habits, such as not making a variable mutable unless you specifically need to (val is way more common than var, the IDE makes them very visually distinct).