2 ms·
> but you'd have to waste more brainpower (or introduce more bugs) by trying to manage it all yourself. I'll be honest, I've never wasted much brainpower tryin
by mcphage 9y ago
> but you'd have to waste more brainpower (or introduce more bugs) by trying to manage it all yourself.
I'll be honest, I've never wasted much brainpower trying to remember the difference between covariant and contravariant, or whether I want Try[Future[String]] or Future[Try[String]], or anything like that, when working in a dynamic language. You just don't do shit like that.
- Terr_ 9y agoYeah, but that's because all the wasted-brainpower goes into preventing even dumber errors, like a method that can't quite decide whether a variable is a string or an object or an array. Part of my job is maintaining a PHP/JS codebase that's 10+ years old, and I wish I had days where it was all about covariance, rather than the stupid stuff.