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

FWIW I do both. I work for a top tier tech company and I write pretty commit messages, test my code, and all that jazz. But for the side-project I do at home? You bet I'm cutting corners.

I also think the guts of a TS function don't matter much though. Write a test to confirm the behavior is correct, and then make the return type and argument types correct so that people can call it without hassle. If you need to use 'any' or 'as' inside the function, then go for it.



I'm a Principal at a 2nd tier tech company.

My personal projects are more rigorous than my work projects. I don't have time to maintain them, so I have to be sure to not fuck them up.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: