Hacker News new | past | comments | ask | show | jobs | submit login

I disagree it's hard per se, but I'd agree it's hard to do well. Especially if you have a bunch of JS functions that return (or expect) objects with very similar but slightly different properties. Figuring out the overlap and the semantic relationship between the types is often challenging, because the original authors never thought about the problem in terms of what types of objects they were dealing with.



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

Search: