5 ms·
Even though I like Python a lot, I clicked on a reply to this comment because I was absolutely certain I was going to have to disagree with you. That just didn'
by ianamartin 6y ago
Even though I like Python a lot, I clicked on a reply to this comment because I was absolutely certain I was going to have to disagree with you. That just didn't seem possible. But . . . I was wrong. That third link with generics makes me cry when I think about the go code I've written.
- searchableguy 6y agoAre those tears result of overflowing with joy or sadness?
- ianamartin 6y agoCan it be both?
- StavrosK 6y agoI'm really liking Python static types to the point where I don't write new programs without them. Give them a shot, they really help.
- karatestomp 6y agoDo most libraries use static types? Or have something widely-used and well-supported available like the @types project for TypeScript to provide them, fairly seamlessly, to consumers of those libraries?
- StavrosK 6y agoSome projects do, yes. Django, for example, has a library to provide types. In my experience, types are useful even just in my own application, since the libraries I use tend to generally only accept simple/fundamental types anyway. Things could definitely be better when it comes to library type support, though, I agree.