this post was submitted on 30 Jan 2025
330 points (100.0% liked)

Programmer Humor

22969 readers
909 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
330
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

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
[–] [email protected] 12 points 3 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.

[–] [email protected] 28 points 3 months ago* (last edited 3 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.

[–] [email protected] 2 points 3 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)