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

He mentioned "contracts." You can throw off the shackles and use the `any` type internally, but at the very least your public interface should have a well-defined contract. TypeScript is one [very good] way to achieve that and it even spits out machine-readable "contract summaries" for you (.d.ts files).


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

Search: