Hacker News new | comments | show | ask | jobs | submit login
Show HN: An opinionated approach to have type safety in native JavaScript (rafelsberger.at)
19 points by walterra on Apr 27, 2015 | hide | past | web | favorite | 2 comments



Interesting take on runtime type checking. Have you seen tcomb (http://gcanti.github.io/tcomb/)? I've been using it myself and I like this idea of using it for domain driven design. Check it out if you haven't, maybe you can find something to differentiate as avocado is still in its early stages.


I agree with the reasoning behind this and the approach seems nice. As it happens, I've also written a library in this space (shameless plug):

https://github.com/philbooth/check-types.js




Applications are open for YC Winter 2019

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

Search: