-
Website
http://awads.net/wp/ -
Original page
http://awads.net/wp/2006/09/05/10-programming-quotes-and-lessons-learned/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
jgarry
3 comments · 1 points
-
Andy C
22 comments · 47 points
-
dahowlett
1 comment · 2 points
-
Don Seiler
9 comments · 1 points
-
davidhaimes
4 comments · 3 points
-
-
Popular Threads
Hi Eddie, i always think i could add something to your points but the are complete :-(
Karl
Ok, here'one for you....
Don't Repeat Yourself.
You can apply this one all over the place. If you need the same bit of code in two places, make it a function. If you need a document that describes a bit of code, why not try generating one from the other. If you need a bit of data in two places have a simple way of getting that data.
Don't Repeat Yourself
Hi Rob, this is a sub rule of point 3 ;-)
Karl
And here is one quote from the list that falls into the same category as "Don't Repeat Yourself.":
Copy and paste is a design error.
Personally, I think #3 and #4 are often used as cop-outs for lazy programmers who don't want to properly document their code. That doesn't make those points less valid, mind you.
Point #9 reminds me of Ockham's razor. To paraphrase, if you have two solutions for the same problem, is it most reasonable to take the simplest.
By the way, having to create yet another account just to comment on here really sucks.
I love simplicity, and that's also part of the reason why I turned comment login on. You register, you read and comment. You do not register, you read. Simple.
Of course, the main reason is spam. I got tired of spam comments and trackbacks hitting my blog, and swiping the good comments along the way. Rob, I remember I had to rescue one of your comments out from a sea of spam.
I know it sucks to add another username/password to your list, I know how it feels (YAUP) and I apologize for that. But, I enjoy your comments (and the comments of all my readers) so thank you for registering :)
Excellent article Sir.I hope you wont mind if I link to the same from my blog?
With best regards
Aman....