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

Even if some shared code is currently branch-free though, it may be unlikely to remain that way if the abstraction is fragile.

A red flag is vague function names like "processThing" or "afterThingHappens". If a function can't be summarized concisely, it's probably doing too many things, and the abstraction is likely to break down later when the callers' needs diverge.



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

Search: