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

I write unit tests after I am happy with the function. By writing the code in a functional way and building code a construct at a time which I test as I write it. I think I get best of both worlds.



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

Search: