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

> Is the time you’re spending on implementing the type-safe solution paying off in bug reduction and other benefits?

As someone working on a team with a large monorepo with strict type requirements, I will say my life is a lot easier with types than without. Types are documentation plain and simple, they require devs to state their intentions in code which is extremely valuable for other devs on the project.



More importantly, they’re documentation which is guaranteed to be correct.


Yup. The more detail you can put in the code itself the better.




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

Search: