Category : C++ Source Code
Archive   : WLIB.ZIP
Filename : PEARLS.TXT

 
Output of file : PEARLS.TXT contained in archive : WLIB.ZIP
The following advice is borrowed from Communications of the ACM, September
1985, Programming Pearls, page 896-899. Individual credits are omitted in the
interests of brevity, and can be found in the source.



Debug only code - comments can lie.

If you have too many special cases, you are doing it wrong.

Get your data structures correct first, and the rest of the program will write
itself.

Testing can show the presence of bugs, but not their absence.

The first step in fixing a broken program is getting it to fail repeatedly.

The fastest algorithm can frequently be replaced by one that is almost as fast
and much easier to understand.

The cheapest, fastest, and most reliable components of a computer system are
those that aren't there.

Good judgement comes from experience, and experience comes from bad judgement.

Don't use the computer to do things that can be done efficiently by hand.

[Thompson's Rule for first-time telescope makers] It is faster to make a
four-inch mirror then a six-inch mirror than to make a six-inch mirror.

If you lie to the computer, it will get you.

Inside of every large program is a small program struggling to get out.



  3 Responses to “Category : C++ Source Code
Archive   : WLIB.ZIP
Filename : PEARLS.TXT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/