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 731 days ago | hide | past | web | 2 comments | favorite



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




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

Search: