27
you are viewing a single comment's thread
view the rest of the comments
[-] kirk781@discuss.tchncs.de 6 points 2 months ago

Java was also my first introduction to programming as it was included in Computer Science in final year of school (at college, we did the trusty C).

I think they have replaced Java with Python now in schools because of the latter's popularity and also because many would argue, Python is slightly easier to learn than Java.

[-] kescusay@lemmy.world 4 points 2 months ago

Python is easy, but it can also be infuriating. Every time I use it, I'm reminded how much I loathe the use of whitespace to define blocks, and I really miss the straightforward type annotations of strong, non-dynamically typed languages.

[-] masterspace@lemmy.ca 2 points 2 months ago

Most overrated language imho. I actually enjoy Java more.

[-] sugar_in_your_tea@sh.itjust.works 1 points 2 months ago

You can annotate types in Python, and it's actually pretty nice when used with Pyright/Pylance.

[-] kescusay@lemmy.world 1 points 2 months ago

Oh, I know you can, but it's optional and the syntax is kind of weird. I prefer languages that are strongly typed from the ground up and enforce it.

[-] JackbyDev@programming.dev 1 points 2 months ago

But nobody else does, and I need it more on code I am consuming than producing. In fact, many functions rely on being able to send various types for different behavior. Dynamic programming is crazy to me. It's like guessing. I don't know what type your code is accepting and I have to guess based on the name of read your code directly.

[-] TerHu@lemm.ee 0 points 2 months ago

use bython, python with braces XD

[-] kescusay@lemmy.world 0 points 2 months ago

Hasn't been updated since 2018. Does it still work?

[-] TerHu@lemm.ee 1 points 2 months ago

i honestly don’t know. i’ve read about it here and there but never actually tried it

[-] gravitas_deficiency@sh.itjust.works -1 points 2 months ago

I don’t think weakly- or dynamically-typed languages are a good thing to base computer science curriculum around. Yes, it’s “easier”. But you will genuinely have a FAR better understanding the language and the logic you’re writing in it if you work in the scope of strong and static typing - or, at least have linters that force you to (e.g. mypy for Python)

this post was submitted on 31 May 2025
27 points (96.6% liked)

Technology

73795 readers
1018 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 news or articles.
  3. Be excellent to each other!
  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, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS