News for hackers. Stuff that matters.
Re:The Wrong Abstraction (2016) by dlubarov on Friday July 20, 2018 @08:11PM (#17579985)
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.

There are no comments on this comment yet.