Programming Wisdom auf Twitter: ““Good code is its own best documentation. As you’re about to add a comment, ask yourself, “How can I improve the code so that this comment isn’t needed?” Improve the code and then document it to make it even clearer.” – Steve McConnell”
Posted by jpluimers on 2021/01/13
[WayBack] Programming Wisdom auf Twitter: ““Good code is its own best documentation. As you’re about to add a comment, ask yourself, “How can I improve the code so that this comment isn’t needed?” Improve the code and then document it to make it even clearer.” – Steve McConnell”
Code the why in a clean and understandable way.
Then document the how, and clear up any implementation/usage details that are hard to understand.
–jeroen
Leave a comment