3 ms·
Explicit types are neither pythonic nor unpythonic: always using explicit types is unpythonic, but explicit is better than implicit is an important piece of 'i
by dorkitude 15y ago
Explicit types are neither pythonic nor unpythonic: always using explicit types is unpythonic, but explicit is better than implicit is an important piece of 'import this'.
I released DStruct because it has been insanely useful in my work. Take it or leave it, but do so pragmatically: dogma is a terrible way to make decisions.
- marshallp 15y agoI'm not being dogmatic. I'm a proponent of dynamic/typing and oo, they all fit perfectly in their use cases. I'm just not fan of mixing things up, the right tool for the right job. If you need types in python, you're writing a significant program in which case it's better to switch to java or better yet ocaml/haskell.
- dorkitude 15y agoSo you're saying one shouldn't write significant programs in Python? With that I must disagree :)
- marshallp 15y agoWell, either programming language researchers such as simon peyton jones are wrong, or developers such as google employee working on appengine, guido van rossum is wrong.
- dorkitude 15y agoThis is a subject near and dear to my heart, and I'm sure we could have a lovely chat about this -- got Skype?
- marshallp 15y agoi've added my email to my profile. however, i'm an antisocial recluse and never skype/im. there's lambda-the-ultimate if you're into programming languages, far more knowledgeable people than me hang out there.