It is absolutely true that there is always a scope to improve your software. Obviously, we are going to talk about ‘How to design a better software’ in this article. We will continuously be adding points to this article in future also if we feel that they are appropriate.
In this article, we will focus on each & every aspect that can help to have a good understanding for better software design.
Please share them with others as well.
- The hardest part of the design is finding the right classes.
- The question of a good software design lies heavily in the anticipation of changes.
- The Side effect is the most worrisome part of changes in design.
- Requirements change, but design should not.
- If you feel your design is not correct, that means it’s not correct. Look at it once again.
- A good design requires keeping the big picture in mind.
- Have a habit to identify the design solution, record them and use them appropriately in future.
- You have to protect your design from being changed.
- Changes may be unknown, but where to accommodate in design should be known.
- Isolate the changes in parts of the design.
- Think how changes in one part will not affect another part.
- Hide the implementation from the client.
- Who, What, Where… is our tool for software design.
- Program to an interface, not an implementation.
- Favor object composition over class inheritance.
- Find what varies and encapsulate it.
- Delegation is wonderful, delegate it appropriately.
- Delegation is a tool in hand to make the design reusable.
- Delegation makes composition, excellent for reuse.
- Think of utilization of the Builder Design Pattern.
- Think about reusability at 3 levels – Application, Library, and Framework.
- It works. Is it right? Think again.
- Think about encapsulating behaviors.
- Software design capability improves ability to raise your level of thinking.
- It’s a design thought process to see and visualize.
Someone is doing something.
Someone can do something.
Someone is changing.
Someone can do something in the future.
Someone will do something in the future. ……. And so on…
If you want to get regular updates on ‘How to Design a Better Software’, you can visit articles on the Better Software magazine. It was a quarterly digital magazine published by TechWell Corporation (formerly Software Quality Engineering). It covered topics of interest to software testers, developers, project managers, and business analysts.