4 ms·
Okay, but Clean Code* would advocate you extract that function to its own class with a new abstraction and it would ultimately wind up way more complicated than
by bluefirebrand 3mo ago
Okay, but Clean Code* would advocate you extract that function to its own class with a new abstraction and it would ultimately wind up way more complicated than the extra params in a function signature
- tcfhgj 3mo agoNo I wouldn't - keep it short & simple
- bluefirebrand 3mo agoNah, you gotta pay attention to what it does, not what it says Clean Code "says" keep it short and simple but following the advice that Bob lays out does not produce short and simple code