by qalmakka · 8y ago · 0 comments
I'm not arguing that it's not possible to do it; I just think that it requires a bit of extra steps and care to document which assumptions your code takes and how it behaves that could be more meaningfully described by a statically typed language. But these are just my 2 cents.
[1] https://github.com/RussBaz/enforce [2] https://news.ycombinator.com/item?id=18107818