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

The thing to do instead is to keep the code simple and concrete, even if it is duplicated a bit.

I think maybe what you mean is it doesn't give you any guidance on when to do that, other than "sometimes".

That's just a matter of taste and experience. It depends on the specific code and circumstances.



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

Search: