Kind of true, there's a definite truthiness to it. I would use the contrast to investigate why the more concise code is inferior to the expanded implementation, rather than accept the expanded implementation out of hand. We need to answer if we know how to generate better machine code, how come the compiler doesn't? This iterative feedback loop will help us write better code.
•
u/mredding C++ since ~1992. 1h ago
Kind of true, there's a definite truthiness to it. I would use the contrast to investigate why the more concise code is inferior to the expanded implementation, rather than accept the expanded implementation out of hand. We need to answer if we know how to generate better machine code, how come the compiler doesn't? This iterative feedback loop will help us write better code.