Sponsored by Travelzoo
Take Advantage of Ridiculously Low Holiday Airfares view!
travelzoo.com - Flights $52 and up for Thanksgiving, Christmas & New Year. But move on it now.
28 Comments
- utcursch, on 10/12/2007, -0/+37"If at first you don't succeed, redefine success." -- Anon
- alsp, on 10/12/2007, -0/+13This is my favourite. I remember being taught this in one of my programming classes:
Wexelblat's Scheduling Algorithm:
Choose two:
Good
Fast
Cheap - skinfitz, on 10/12/2007, -0/+13Programming is like sex. One mistake and you are supporting it for the rest of your life.
- karmakanic, on 10/12/2007, -0/+13My personal axioms:
- First, make it go. THEN make it go fast. Software that does the wrong thing is infinitely slow.
- The Rule of Three: it's okay to copy and paste a chunk of code one time. When you're about to do it again, refactor.
- Never let the tool dictate the design. (obviously lots of counter-examples, but you get my point) - Gizza, on 10/12/2007, -1/+10That reminds me of another one I read somewhere else.
People on the internet are:
Smart
Good looking
Single
Choose 2: - speezer, on 10/12/2007, -0/+9Turn it off then turn it back on again. Fixed?
- krypnos, on 10/12/2007, -0/+7Digg the above down. After some wikipedia reading, looks like my C teacher was wrong, I think.
Quote:
The justification for obtaining the original computer to be used in developing the Unix operating system was to create a system to automate the filing of patents. The original version of the Unix system was developed in assembly language. Later, nearly all of the operating system was rewritten in C, an unprecedented move at a time when nearly all operating systems were written in assembly.
So C wasn't made to help in the writing of UNIX?
/not a history buff... - ravs, on 10/12/2007, -0/+6Mary Pettibone Poole:
The next best thing to being clever is being able to quote someone who is. - sirsteveh, on 10/12/2007, -0/+6python -c "import this"
Enough said. - smcdow, on 10/12/2007, -0/+5Universal rules for optimization:
1. Don't
2. (For Experts Only) Don't Yet. - inactive, on 10/12/2007, -0/+4My favorite is: "Abraham Lincoln reportedly said that, given eight hours to chop down a tree, he'd spend six sharpening his axe."
- sshack, on 10/12/2007, -0/+3You are not smart enough to write optimized code.
- digitaldd, on 10/12/2007, -0/+3Its missing George Morrow anyone who's read "Quotations from Chairman Morrow" knows what I mean.
See: http://www.decodesystems.com/chairman-morrow.html
My favorite is: "Ninety percent of the software gets written in 10 percent of the time.
The next 9.5 percent takes 90 percent of the time. The last one-half
percent never gets done. But the software still gets sold." - inactive, on 10/12/2007, -0/+2"There are only two industries that refer to their customers as users"
- Gambit89, on 10/12/2007, -0/+2"It does not matter how slow you go so long as long as you do not stop." ~ Confucius (might be a little inaccurate)
- neko, on 10/12/2007, -0/+2I like the version of the 90-10 rule I'm familiar with:
The first 90% of the code takes 90% of the time.
The remaining 10% of the code takes the other 90% of the time. - birdadderley, on 10/12/2007, -0/+1Production: the ultimate test.
- Ulvund, on 10/12/2007, -0/+1http://en.wikipedia.org/wiki/Multics
- Jakerius, on 10/12/2007, -0/+1"To go faster, slow down. Everybody who knows about orbital mechanics understands that."
Heh. - bartwol, on 10/12/2007, -0/+1...and then only the people who were paying attention all along will know that you failed.
- Blandyman, on 10/12/2007, -0/+1I've heard that one a bunch.
Reasoning:
It's possible the power went out only in a section of the home, and in some homes where the switch doesn't fully go into the off position, people might try it again. My house has one switch that stays switched to on when the breaker overloads or w/e (not an electrician), but you have to refeed power to whatever you're trying to use by unplugging/replugging or switching it off then on again.
Yeah, my house DOES suck. - BiGYaN, on 10/12/2007, -0/+0One of the best of such listings that I've ever come across !!
- hackwrench, on 10/12/2007, -1/+1Regarding the comments on craziness, what's really crazy is when the situation changes doing the same thing and expecting the same result.
Example:
The power goes out. A person knows the power is out, yet turns on the light switch expecting the light to come on. - hackwrench, on 10/12/2007, -1/+1However if you can find a way to write "optimized" code in a way that you can repeat again and again, it seems to me that when an opportunity presents itself to see whether such an optimization can be learned it is good to do so.
- ifthenelse, on 10/12/2007, -1/+0Generally speaking I think the "make it go THEN make it go fast" rule is flawed.
That rule is what leads to the bloated pieces crap we all see nowadays. Computing power is finite and no matter how fast computers get it's not fast enough. Now, I'm not saying everything should be optimized to the Nth degree on the first try but you have to design for performance in the beginning or it can be extremely difficult or impossible to fix later. All too often I have seen entire code bases thrown away because it was impossible to optimize without refactoring certain fundamental elements of the design. Or people just live with the crappy performance (both in terms of speed and bloat) because it would require rewriting to get better performance.
Like everything, it's a balancing act. Don't optimize too much while you're trying to get a good design but don't ignore performance issues blindly thinking "we can do that later". If you're saving it for later then you better be thinking about _how_ you're going to actually do it later. - Andrej73, on 10/12/2007, -8/+6utcursch
Mr. Bush tried exactly this. - dhan, on 10/12/2007, -11/+2didn't know Einstein was a software engineer !
- krypnos, on 10/12/2007, -11/+1When I read:
Everybody Knows:
If something is worth doing once, it's worth building a tool to do it.
I thought UNIX. Anyone else?


What is Digg?
Catch all of your favorite Digg shows in one place, including Digg Dialogg, Diggnation, The Digg Reel and More!