Timeline for What do you consider the 1st principle(s) of programming?
Current License: CC BY-SA 2.5
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 10, 2011 at 10:18 | history | made wiki | Post Made Community Wiki | ||
Aug 3, 2009 at 17:15 | comment | added | Beska | "I could write a good program that would handle this problem, but I'm really too lazy. I'll just suffer without." | |
Jan 12, 2009 at 12:58 | comment | added | Adam Bellaire | @Kyle: Yeah, that's the point. "True laziness" is making things easiest for yourself now as well as in the future. Which turns out to be the same as doing things properly. If you do less work now but more work later, you're not being "as lazy as possible" :) | |
Jan 8, 2009 at 21:21 | comment | added | Kyle B. | Too general. By that analogy all variables and functions would be 1 letter because I was 'too lazy' to type out something meaningful. Assuming I had to maintain it also however, then perhaps you are correct, because I would make it as easily maintainable as possible. | |
Dec 29, 2008 at 14:13 | comment | added | John Mo | I've always said that there's an important element of laziness in programming... the "if the computer can do the job" type of laziness. This also becomes spending hours programming something to do a few minutes of work. Of course, the next time that few minutes of work comes along... | |
Dec 9, 2008 at 16:28 | comment | added | Darron | I think of programming laziness as "if the computer can do the job for you, it should". DRY and YAGNI are special cases of this principle. It can also be extended to "code clearly and plainly". When you come back to maintain the code the laziness should continue. | |
Oct 1, 2008 at 19:31 | comment | added | pongba | So we're talking about different kind of laziness? I thought by "lazy" Bob means "don't bother organizing your code before it gets tangled" :D | |
Oct 1, 2008 at 19:21 | comment | added | Ólafur Waage | This is a reference to perl's "Laziness, Impatience, and Hubris" | |
Oct 1, 2008 at 19:10 | comment | added | pongba | Again, too general, IMO. This begs the question "How lazy is the appropriate amount of laziness, really?", because obviously "sloppy" is something you don't want to be either. | |
Oct 1, 2008 at 19:06 | history | answered | Preston Guillot | CC BY-SA 2.5 |