Don't document bad code - rewrite it.
Brian KernighanRead
If you're as clever as you can be when you write it, how will you ever debug it?
Interpretation
Writing code with complete cleverness can hinder debugging.
This quote by Brian Kernighan highlights the importance of clarity and simplicity in programming. If a developer writes overly clever or complicated code, it becomes much harder to understand and fix when issues arise; thus, the quote serves as a reminder to prioritize comprehensibility over complexity in code design.
In practice
During a tech seminar discussing best coding practices.
Don't document bad code - rewrite it.
The cost of adding a feature isn't just the time it takes to code it. The cost also includes the addition of an obstacle to future expansion. ... The trick is to pick the features that don't fight each other.
The Internet's abundance - of information, goods, tastes and sources of authority - creates unparalleled opportunities for individuals to get exactly what they want. But this plenitude threatens political and cultural authorities who believe in telling individuals what they can have rather than letting them choose for themselves.
Many of the technologies that are now racing ahead most rapidly, replacing human workers in factories and offices with machines, making stockholders richer and workers poorer, are indeed tending to accentuate the existing inequalities in the distribution of wealth.
Coding is like writing, and we live in a time of the new industrial revolution. What's happened is that maybe everybody knows how to use computers, like they know how to read, but they don't know how to write.
No matter how deeply disturbing the thought of using the environment to manipulate behavior for national advantages to some, the technology permitting such use will very probably develop within the next few decades.
Is it a fact-or have I dreamt it-that, by means of electricity, the world of matter has become a great nerve, vibrating thousands of miles in a breathless point of time?
Subscribe for the occasional hand-picked quote. No noise.