209
submitted 10 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
[-] netchami@sh.itjust.works 8 points 10 months ago

Java... I started with Java myself when I was a teen. It's not a good idea.

[-] aluminium@lemmy.world 24 points 10 months ago* (last edited 10 months ago)

I think Java is still a good language for beginners. The tooling around it is really good and it catches lots of issues at compile time.

[-] netchami@sh.itjust.works 7 points 10 months ago

I'd recommend Python or JavaScript to beginners. Also, Java is dying out right now.

[-] aluminium@lemmy.world 15 points 10 months ago

I seriously don't get why Python is so popular for learners. Its a weird ass very isolated language syntactically. The libraries for it are great but still.

[-] Linkerbaan@lemmy.world 10 points 10 months ago

Because it dared to change the shitty syntax of bad syntax languages so humans can actually read it.

[-] aluminium@lemmy.world 7 points 10 months ago* (last edited 10 months ago)

Its probably bias to what you are used to the most. I think for example copy pasting stuff around in C like languages is way easier than the tab mangling one has to perform in python.

Also python has so plenty of bizarre (i.m.o. not very readable) syntax beyond that. Like

def __init__(self) : for a constructor

the most verbose lambda syntax for something that should make it less verbose to inline functions def x = lambda x: x + 1

logical operators being words while numerical and comparative ones aren't def x = not a or (b <= c)

private methods not really existing thus needing underscores as a crutch

I don't wanna hate on python, the ecosystem and libraries around it are amazing but people saying python is the gold standard in terms of syntax and "readability" is questionable i.m.o.. There also is a reason why many of new modern hyped languages (which don't have to abide to backwards compatibility to some other language like mojo) like Rust, Kotlin, Go, Zig, and Swift are C style langs.

[-] netchami@sh.itjust.works 8 points 10 months ago

JavaScript sometimes can be weird as hell. That's why I prefer Python. I don't know, for me it seemed logical from the beginning. Java definitely ain't better.

[-] bionicjoey@lemmy.ca 7 points 10 months ago

"Java is dying" is what people who've never actually worked as a dev for a big company think.

[-] MonkderZweite@feddit.ch 2 points 10 months ago

You say legacy code?

[-] netchami@sh.itjust.works 2 points 10 months ago

The company I work at is currently replacing all of their legacy Java shit with Go

[-] Maalus@lemmy.world 3 points 10 months ago

Okay, and this is relevant how? One company doing stupid shit doesn't mean a language is dying - it's the basis of enterprise basically everywhere

[-] netchami@sh.itjust.works 2 points 10 months ago

Many companies are migrating away from Java. Have you seen any big projects started in the last 5 years that use Java? I haven’t. Java is only used to either maintain existing stuff or to migrate away from even older shit like COBOL or Perl.

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

Many companies are migrating away from Java.

And way more aren't. Especially among big market cap companies.

[-] Maalus@lemmy.world 2 points 10 months ago

Yeah, I have seen plenty of big projects started in Java. Hell, I've written code for at least 10 of them. Just because you personally don't see something happening, doesn't mean it isn't there. Java is as popular as it gets, being in the top 3 languages used. It's not going away and it is not being deprecated any time in the future.

[-] FourThirteen@lemmy.world 7 points 10 months ago* (last edited 10 months ago)

Java is absolutely not dying... unfortunately. Billions of people depend on spaghetti code written by corporations every day. I think Java will be the next COBOL. It won't die and it's unfortunate.

[-] BrianTheeBiscuiteer@lemmy.world 2 points 10 months ago

Ditto. Been a Java developer for over 10 years and the tool maturity more than makes up for its faults as a language.

[-] starman@programming.dev 1 points 10 months ago* (last edited 10 months ago)

In my opinion, C# would be better for this job. It is similar, but has many features that simplify the code, such as top level statements, LINQ, collection expressions and stuff like that. It's also way more popular in game development and that's what most teens are interested in

[-] kaffiene@lemmy.world 7 points 10 months ago

Java is a great language. Still one of the most used languages in the world. Ditto python

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

Technology

58177 readers
2619 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