3 ms·
His examples use class state as faux-global state and dozens of small one-line methods that "do one thing", but don't really, since they operate on this object
by dsego 4y ago
His examples use class state as faux-global state and dozens of small one-line methods that "do one thing", but don't really, since they operate on this object state. In the end, it makes it difficult to follow the logic flow, since you have to jump around from one small method to the other to understand what's happening. And clear understandable method naming is of limited help, so it turns into this ravioli code anti-pattern, clean on the surface, but semantically all tangled up.