3 ms·
> If you want to enforce contracts, pick a language that encourages it. Yeah don't worry, I'm not gonna use Python. > Besides, what would a contract be in a d
by jafaku 13y ago
> If you want to enforce contracts, pick a language that encourages it.
Yeah don't worry, I'm not gonna use Python.
> Besides, what would a contract be in a dynamically typed language?
Being dynamic has nothing to do with this. See: Clojure, PHP, etc. They have contracts.
Of course things might not be appropriate everywhere. But with Python/Ruby you don't have a choice, they just lack these features.