Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They also remove redundant testing (you only need to prove something fulfills certain properties once as long as you have a type for it); and the more advanced the type system the fewer tests needed.


friendly tips: runtime type checks are available https://github.com/gcanti/io-ts https://github.com/pelotom/runtypes


I mention io-ts https://github.com/gcanti/io-ts in the post


Thanks for the article It sparked useful discussion around the world




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: