I re-found the second video while searching for a video in which Uncle Bob of Clean Code reduced a few thousand lines app into something like 3-5 lines. I had forgotten about that video, until I saw the thumbnail again 😂
matteocontrini I don't think it's the opposite opinion. What's more efficient? To grab a handsaw, cut a branch, if you need to have the angle straight, then use the handsaw to cut a straighter angle, then put the handsaw back? Or get the handsaw, make a frame for making the cutting easier and the cut cleaner and straighter, use some formula to calculate the curvature at which you should cut for the cut to be perfectly straight, if the branch is bent (by gravity or other elements), then put the handsaw back?
Now imagine you're doing this not once in a blue moon, but thousand of times per second. Is the cost of the bit of "lost" wood worth it? I mean, it we're talking about domains where the price of the product is one of the major bottlenecks, then I get it. But in most cases, you can get away with some inefficiencies. Especially when you're not working on a Google/Facebook/Microsoft/Apple scale.
In some cases, it's more economical to just simplify the code as much as possible. And that is certainly a part of what Software Disenchantment is. Which is exactly what Clean Code requires. "It;s pretty much what you expect it."
But then again, Android, Windows, MacOSX and most of Google are not really seeming to use Clean Code, for that matter of fact. I believe that part of the inefficiency is by attempting to avoid vendor locking, and vendor-unlocking the vendor-unlocking for the vendor-unlocking, and so on. We have watchers watching the watchers watching the watchers watching the watchers watching the watchers watching the watchers watching the watchers and so on.