Linus Torvalds criticized a Meta engineer's code for creating unnecessary abstractions that increase cognitive load. The piece argues that good code should minimize context switches and mental overhead for both humans and AI systems. Sometimes code duplication is preferable to complex helper functions when it keeps logic
68 Comments
Sort: