correctness,reliability,relevant,good designed,affordable and maintainability
Keep in mind features which can be appreciated from outside by non-programmers;
The structures of program must be such that other programmers who didn't write it can understand it and make changes to it.To be maintainable,a program must be simple relative to its requirements and code must directly represent the idears expressed.Complexity can be intrinsic to a problem, but can also arise from poor expressions of idear in code.
Programming is understanding. If we can program a task,we fully understand it.Conversely,we can see programming as part of the effort to thoroughly understand a problem.A program is a precise representation of our understanding of a topic.
4 stages of programming
- analyze:what's the problem? what does the user want? what does the user need? what can the user afford? what reliability do they need?
- design: how to solve the problem? what's the overall structure of the problem? which parts dose it consist of? How do they communicate with each other? How dose the system communicate with its user?
- programming: express the solution of the problem in code. Write the code in a way that meet all the constraints(time,space,money,reliability and etc).The code must be correct and maintainable.
- testing:make sure the system work correctly under all circumstances required by systematically trying it out.
Try to explain the design ideas to others before coding, no matter weather they know software and business or not.
And while coding, from time to time, to think about the problem, articulate the idears or problems to others.
Much of problem solving is recognizing a known problem and apply a known solution technique.
This book focuse on expressing idears clearly in code.
0 comments:
Post a Comment