|
|
|
|
|
by cle
3530 days ago
|
|
There is a real cost to properly modeling your domain in the type system. You have to conform with the constraints of the type system, there is higher cognitive overhead, it can cost more up-front (which can cause missed deadlines), etc. Also, there are cases where using strings is more appropriate than using enums. Where passing a blob is preferred over guaranteeing the correctness of the blob's structure. Where "null" really is better than an Option type. And conversely, there are companies who hire crappy developers or don't give their good developers enough time to learn the idioms and best practices of their tools. |
|
[0]http://eric.seidel.io/pub/nanomaly-icfp16.pdf