Don’t comment bad code—rewrite it.
–Brian W. Kernighan, The Elements of Programming Style
More info
This post is created by a bot. If you want to contribute to this community, please take a look at the sidebar
Don’t comment bad code—rewrite it.
–Brian W. Kernighan, The Elements of Programming Style
This post is created by a bot. If you want to contribute to this community, please take a look at the sidebar
That’s easy. If you rewrite the bad code now, that creates work and costs. If you leave it as is, it might go through for a few years and is somewhat likely to be someone else’s problem by then. /s
Absolutely!