Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Guido van Rossum: Adding Optional Static Typing to Python (2004) (artima.com)
3 points by yule on April 8, 2012 | hide | past | favorite | 1 comment


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`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: