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

I think that is not a hot take at all, haha. For some reason, in TypeScript people like to have return types inferred, and while I do that just because I'm lazy in my own projects, we enforce explicit return types in our work codebases simply because you never know when something might change in the function body.


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

Search: