Object-oriented, is a great design idea, it should be a revolution in the history of software development.
Of course, it is difficult to understand object-oriented, there are many people using object-oriented language, writing process-oriented logic, and it is written for many years. But there are masters, with C can also write very cow object-oriented program. Object-oriented is actually a way of thinking about the problem, with the following emphasis:
-
- Some people will also create some strange universal classes, or a mixture of n species of monsters. Or a dog with only one leg.
-
-
-
-
How to exercise your object-oriented thinking ability, it is very simple, every day and you interact with the people and things, write code, let them and your interaction into a method of invocation. For example, today you went to the supermarket by car and bought a bunch of things. Abstract out Car,person,market,goods,cash and so on, implement him in code.
Design patterns are really good, they are some of the tips we have summed up before, this is the people's favorite, right, so remember when to use them.
With the above knowledge, you can think about a set of their own design and development ideas. To do anything, there is a way that suits you best, you try to find out and solidify into your blood. For example, now give you a project, do a set of simple invoicing system, you need to design and code, what will you do?
Think about it? There are many ways to design, but you have to have your own set, so you summarize it, I will not tell you my secret.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Architect Express 6.3-Design development Ideas