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

Exactly. Seems like the obvious way to go and this is what I typically do.

The end result is of course a huge bag of small, pure functions, but they're easy to test and refactor so it's never an issue.



And you can re-inline and modify the special cases in the future if necessary.




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

Search: