3 ms·
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? Y
by 8n4vidtmkvmk 4y ago
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.
- trhr 4y agoI'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.