Hacker News new | past | comments | ask | show | jobs | submit login

> I find it hard to write tests when I'm still formulating the logic of how a problem should be solved

I think everyone does. I certainly do. But pushing through that actually helps your designing, because you start thinking of things in terms of how the API will look, how each building block leading to the final computation will look, and the need to be able to unit-test it as you go forces you to write smaller, more tightly-focused components automatically, which ends up making more maintainable code that is easier to reason about




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

Search: