Settings

Theme

Guido van Rossum: Adding Optional Static Typing to Python (2004)

artima.com

3 points by yule 14 years ago · 1 comment

Reader

drdaeman 14 years ago

Interesting. Too bad this didn't got anywhere. At least, sometimes I miss static typing in Python. Tools like dictshield work fine, but when I'm validating a structure, I have a feeling that I'm using a wrong language (but don't get me wrong, I love Python!)

Type classes (like those in Haskell) should've been able to solve the problems Guido mentioned. I.e. something like `def min(Ord T => a: T, b: T) -> T` and `def min(Ord T => a: [T]) -> T`.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection