News for hackers. Stuff that matters.
Re:Ask HN: When do you guys start writing unit tests? by bbody on Monday November 04, 2019 @12:54PM (#21444273)
Typically for any personal projects I will do it before any large refractors then keep on top of code coverage going forth. I find this approach let’s me move fast until I reach a level of seriousness.

I sometimes use TDD when adding new functionality, I even created a relatively popular YouTube video on the topic. I find it most useful when I’m coding a particularly complicated function, helps me think through the problem better.

Re:Ask HN: When do you guys start writing unit tests? by RocketSyntax on Monday November 04, 2019 @12:27PM (#21443936)
I typically don't for my personal projects, but if I was going to publish my code or start collaborating in git it would move toward the top of my todo list.

Or if I started weaving together lots of different parts of the project.