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

Same as you do it in any language: you compose instead of inheriting, you avoid shared state, you generally think about how this thing you're implementing can be tested even as you are implementing it. Test-driven development tends to constrain your interfaces too early but you can get a lot of the same benefits with, let's call it, test-mindful development. That works in any language.


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

Search: