this post was submitted on 30 Jan 2025
315 points (97.3% liked)

Programmer Humor

23710 readers
2147 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Have to add that we work exclusively in strongly-typed languages. Kinda want to see how it plays out, but I can't help but argue with him, so I think I'll just go.

you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 0 points 4 months ago (13 children)

I recently tried out Python. I had no idea it still doesn't have runtime enforced typing...

I didn't realize that PHP was decades ahead of it.

[–] Pyro@programming.dev 25 points 4 months ago* (last edited 4 months ago) (5 children)

Python 3.x will never have static typing because that would break backwards compatibility.

However, typing hints have been Integrated into Python for a while, and you are heavily recommended to use them, so your IDE can enforce typing.

[–] Kache@lemm.ee 2 points 4 months ago

Also have the option of selectively/strictly enforcing in CI, to get an experience & protections similar to "compile-time type checking"

load more comments (4 replies)
load more comments (11 replies)