I told some friends tonight about an idea I had years ago: disable copy-paste for all software engineers and you’d improve code worldwide overnight.

Cut-paste is still totally cool. Feel free to refactor and move code around.

But copy-paste… well, it’s just deadly.

Copy-pasting leads to so many bugs, unmaintainable codebases and general code bloat. If everyone was forced to think more building reusable abstractions, these could be avoided. An example of a critical error probably (I don’t have proof) caused by copy-paste would be Apple’s SSL Key Exchange bug.

So there you have it. Disable ⌘-C right now. And no cheating by using cut, then re-pasting twice!!!

Trimbo


Published