Remix.run Logo
deadbabe 3 days ago

Some people think clarity means abandoning language idioms and writing simple code that a first year computer science student could understand and follow.

If you do this, your team will write verbose, repetitive code, and put more emphasis on procedures instead of data structures and how they change over time.

Use the language features to write powerful concise code that really takes some skill and expertise in the language to understand. Force your team to become more skilled, don’t stoop down to the lowest common denominator. In time, this code will become as easily understood as any other simple program.

And when shit breaks down at 2 AM, you do nothing, because your code is clever enough to handle problems itself.

But don’t obfuscate.