Re:“Clean” Code, Horrible Performance
by lll-o-lll on Wednesday March 01, 2023 @04:28AM
(#34980382)
I think the problem comes from applying “clean code” as a standard pattern.
As demonstrated in the example, extensibility costs in performance, and also sometimes in comprehension. If we apply the “clean code” rules as a matter of course, we pay this price always.
In my opinion, we should use interfaces etc at module boundaries only.
As demonstrated in the example, extensibility costs in performance, and also sometimes in comprehension. If we apply the “clean code” rules as a matter of course, we pay this price always.
In my opinion, we should use interfaces etc at module boundaries only.