Some Lessons
There are some important ideas in algorithm and program design:
Science is organized knowledge. Wisdom is organized life.
-- Immanuel Kant
- There is more than one way to do it.
Your first task is to find a correct algorithm. After that, strive for clarity,simplicity, efficiency, scalability and elegance. Good algorithms and programs are like poems of logic. They are a pleasure to read and maintain. - Be the computer.
Grand Master Turing once dreamed that he was a machine. When he awoke he exclaimed: "I dono't know whether I am Turing dreaming that I am a machine, or a machine dreaming that I am Turing!" - Generality is good.
- Don't reinvent the wheel.
As you are learning to program, designing from scratch is great experience. Truly expertprogrammers, however, know when to borrow.
Science is organized knowledge. Wisdom is organized life.
-- Immanuel Kant
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home