4 ms·
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 nam
by dlubarov 8y ago
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.