There’s No Such Thing as Clean Code
&gt; But these traits are in some ways at odds with each other. The most simple code is probably not the most testable. All those interfaces and injected dependencies make for convenient testing, but have a cost in terms of simplicity.<p>Exactly<p>The same code snippet might be good in one context and an annoyance in another context<p>Here&#x27;s where &quot;generic rules&quot; fail. Like python&#x27;s avoidance of lambdas and favouring just having functions. Well, but, depending on the context, they make <i>a lot of sense</i>.<p>&quot;Oh but lambdas are less readable&quot; not if you need 20 different short functions and you need to combine them. Too implicit and it&#x27;s hard to read, too explicit it gets boring and also hard to read.