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

I am not sure. I think that descriptive identifiers can indicate the type and be augmented by documentation.



They can. But both tend to get out of date as a codebase develops. It's very useful to have an automated tool that ensures the documentation lines up with the actual code - i.e. a type checker.




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

Search: