3 ms·
I think you’ve missed the point of clean code if this is your gripe with it. Every time you over scope a function signature, because you want to handle that ot
by dirtbag__dad 2mo ago
I think you’ve missed the point of clean code if this is your gripe with it.
Every time you over scope a function signature, because you want to handle that other case, you add mental tax to the next person. This accumulates, burns time, and now confuses agents, which is time and tokens ($).
No one wants to work with a dogmatic individual but I’d rather a nit picker than a human or agent slop machine.
- bluefirebrand 2mo agoOkay, 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 2mo agoNo I wouldn't - keep it short & simple
- bluefirebrand 2mo 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