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.
When I wrote 'The World Is Flat,' I said the world is flat. Yeah, we're all connected. Facebook didn't exist; Twitter was a sound; the cloud was in the sky; 4G was a parking place; LinkedIn was a prison; applications were what you sent to college; and Skype, for most people, was a typo.
I like technology, but 'Black Mirror' is more what the consequences are, and it doesn't tend to be about technology itself: it tends to be how we use or misuse it. We've not really thought through the consequences of it.
We want to be able to service our customers more, like an Internet service. Our goal is to run one of the largest Internet services that enables people to use Windows on an everyday basis.
When I took office, only high energy physicists had ever heard of what is called the Worldwide Web... Now even my cat has its own page.
Rushing to optimize before the bottlenecks are known may be the only error to have ruined more designs than feature creep. From tortured code to incomprehensible data layouts, the results of obsessing about speed or memory or disk usage at the expense of transparency and simplicity are everywhere. They spawn innumerable bugs and cost millions of man-hours - often, just to get marginal gains in the use of some resource much less expensive than debugging time
In California, we have some of the strongest consumer protection laws in the country. While it is easy to conceive of innovation and regulation as mutually exclusive, California is proof that we can do both. We can innovate responsibly.
Subscribe for the occasional hand-picked quote. No noise.