Comments on: 10 Programming Proverbs Every Developer Should Know http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/ ASP.NET Developer. ALT.NET Supporter. Pragmatic Programmer. Published Writer. Wed, 01 Dec 2010 20:34:08 +0000 hourly 1 By: Dan http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-3576 Dan Wed, 25 Aug 2010 00:17:39 +0000 /post/Programming-Proverbs.aspx#comment-3576 Your first point is backwards. "There is no smoke without fire" is not correct by any means. There is ALWAYS smoke first due to heat, flames come later. But, that's how you can re-write it to mean what you were trying to say. "There is never fire without having some smoke first. Learn to identify the smoke, and you will save yourself from the fire." It's the same idea, only actually correct. Your first point is backwards. “There is no smoke without fire” is not correct by any means. There is ALWAYS smoke first due to heat, flames come later. But, that’s how you can re-write it to mean what you were trying to say. “There is never fire without having some smoke first. Learn to identify the smoke, and you will save yourself from the fire.” It’s the same idea, only actually correct.

]]>
By: Strixy http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-2310 Strixy Thu, 01 Jul 2010 18:16:20 +0000 /post/Programming-Proverbs.aspx#comment-2310 Debugging != Testing Debugging != Testing

]]>
By: tan4eg http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-2277 tan4eg Sat, 26 Jun 2010 10:12:42 +0000 /post/Programming-Proverbs.aspx#comment-2277 i've translated your post to russian on http://sly-and-fluffy.blogspot.com/2010/06/10_16.html i’ve translated your post to russian on http://sly-and-fluffy.blogspot.com/2010/06/10_16.html

]]>
By: Terry http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-2123 Terry Wed, 02 Jun 2010 22:23:04 +0000 /post/Programming-Proverbs.aspx#comment-2123 Regarding the code smell of "Large blocks of commented out code"... This can also be a flag for GOOD code! I often will comment out entire class implementations of a class that's working, but has a ton of bugs and fragilities. Then I'll re-implement from scratch. If I totally screw things up, I'll just uncomment. Yes, I know my source control will keep the previous version for me, but keeping the commented code for awhile allows you to easily refer to it while implementing and debugging the replacement. The huge comment should go away after a revision or two of course. Regarding the code smell of “Large blocks of commented out code”…

This can also be a flag for GOOD code! I often will comment out entire class implementations of a class that’s working, but has a ton of bugs and fragilities. Then I’ll re-implement from scratch. If I totally screw things up, I’ll just uncomment.

Yes, I know my source control will keep the previous version for me, but keeping the commented code for awhile allows you to easily refer to it while implementing and debugging the replacement. The huge comment should go away after a revision or two of course.

]]>
By: Scott http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-2033 Scott Thu, 27 May 2010 18:30:40 +0000 /post/Programming-Proverbs.aspx#comment-2033 "Everything should be as simple as it is, but not simpler." - Albert Einstein Some problems are just complex. If a solution is hard to understand, it doesn't necessarily mean that it's wrong or poorly coded. It may just be a hard problem. Also, I'm more in the "if it ain't broke, don't fix it" camp than the "never leave a broken window unfixed". Key architectural code should be cleanly designed and work well. I think there needs to be a compelling case to refactor other code. Why risk introducing bugs in order to "fix" working code? Especially when the "fix" is really about making the code conform to an ideal of what good code should look like? Unless you're making an object library, the end user of your software will not be other programmers, and they won't care whether you've used dependency injection or not, whether you've relied too much on a singleton, et cetera. And if you think your code will have a long shelf-life and needs to hold up to future scrutiny, you're likely flattering yourself. “Everything should be as simple as it is, but not simpler.” – Albert Einstein

Some problems are just complex. If a solution is hard to understand, it doesn’t necessarily mean that it’s wrong or poorly coded. It may just be a hard problem.

Also, I’m more in the “if it ain’t broke, don’t fix it” camp than the “never leave a broken window unfixed”. Key architectural code should be cleanly designed and work well. I think there needs to be a compelling case to refactor other code. Why risk introducing bugs in order to “fix” working code? Especially when the “fix” is really about making the code conform to an ideal of what good code should look like?

Unless you’re making an object library, the end user of your software will not be other programmers, and they won’t care whether you’ve used dependency injection or not, whether you’ve relied too much on a singleton, et cetera. And if you think your code will have a long shelf-life and needs to hold up to future scrutiny, you’re likely flattering yourself.

]]>
By: Interesting Articles for Programmers « Computer Science 2007/2008 http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-2019 Interesting Articles for Programmers « Computer Science 2007/2008 Thu, 27 May 2010 16:55:44 +0000 /post/Programming-Proverbs.aspx#comment-2019 [...] 10 Programming Proverbs Every Developer Should Know [...] [...] 10 Programming Proverbs Every Developer Should Know [...]

]]>
By: Ben http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-992 Ben Fri, 09 Jan 2009 16:22:42 +0000 /post/Programming-Proverbs.aspx#comment-992 You should have put a dilbert comic with each of the points. tldr You should have put a dilbert comic with each of the points.

tldr

]]>
By: Pankaj http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-987 Pankaj Sun, 21 Dec 2008 10:14:34 +0000 /post/Programming-Proverbs.aspx#comment-987 Good..One...Thanks.. Good..One…Thanks..

]]>
By: zeolite http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-986 zeolite Wed, 17 Dec 2008 23:50:25 +0000 /post/Programming-Proverbs.aspx#comment-986 A clever person solves a problem. A wise person avoids it. A clever person solves a problem.
A wise person avoids it.

]]>
By: WebDevVote http://www.kevinwilliampang.com/2008/10/07/10-programming-proverbs-every-developer-should-know/#comment-985 WebDevVote Wed, 26 Nov 2008 18:01:17 +0000 /post/Programming-Proverbs.aspx#comment-985 You're been voted ! Track back from http://www.webdevvote.com/others/10_Programming_Proverbs_Every_Developer_Should_Know You’re been voted !
Track back from http://www.webdevvote.com/others/10_Programming_Proverbs_Every_Developer_Should_Know

]]>