773

No offence

you are viewing a single comment's thread
view the rest of the comments
[-] Faresh@lemmy.ml 1 points 1 year ago

But it is in no way worse than javascript in that regard, though?

I don't think static typing in Python is really so essential. I see it above all as a scripting language, so its applications don't benefit as much from static typing as other languages do.

Maybe a better hypothetical python would have used some kind of type inference system, like in haskell, which allows for static typing while still allowing to write code unencumbered from types and stuff, but I really think, for Python's target domain, its type system is actually adequate or good. Maybe its documentation could benefit from type hints, though.

this post was submitted on 16 Jul 2023
773 points (100.0% liked)

Programmer Humor

32829 readers
205 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS