Download 1 Introduction
Transcript
For example, the ideas that the frameworks bring to us should not exclusively be used when building frameworks, they could also be incorporated into “normal”1 object-oriented system development It is about using the obvious, the on hand techniques, without considering them as unreachable and extraordinary occurrences. 2 Design of today This section tries to shed some light over the difficulties that exist when developing systems today. Most problems are characteristic for larger systems and it is in such systems they best show there damaging effect. Still, often enough the problems are there also in smaller system, but just not as visible for the viewers. The different sections show what problems that can occur during the design phase of software development. The problems are divided in the larger and more problematic parts that occur during the system design lifestyle. The problem is that much of what is claimed to be object-oriented development actually is not, it is only development in an object-oriented language. What ever the cause of the problems are they are still there, requiring attention and new approaches to reach some solutions. 2.1 Finding objects that correctly reflect reality. One of the first parts that a software engineer will encounter is the need to translate the requirements into some kind of object model, constructing a first “correct”2 view of the reality. This is one of the more critical actions performed in the software lifestyle. Even if it usually is not considered so, this phase outlines how the rest of the system is divided and organized. If an fault is implanted at this stage, it will only get bigger with time. The idea of how to split up a system in subsystems often is generated at this point. This stage is the foundation for much of the coming work. Now, a counter argument could be that object-oriented development is iterative/incremental so this problem is not so big. Nonetheless, there still is a first time and it is easier to do it right the first time, before everybody has started to work on there separate parts. If a system solution is tried and a full scale development starts of, then it is rather hard to discard the work done because an iteration is needed. However the cards might fall, the real problems do not occur until the software engineers start working on the different parts of the system. If the work in this phase (i.e identification of potential objects) goes wrong the whole foundation could become distorted. For example, the system could be divided in incorrect parts which could lead to a system that is hard to overview, maintain and understand. It is important to get a correct structure of the system so it reflects the system that actually is intended to build. A system can quickly become a very bad system, because it was build on the perceptions grounded in an early phase of the project. Once the full-scale construction has started, the point of no return might have been passed a long time ago. 2.2 Subsystems A closely related problem is the problem of dividing the system into subsystems. To divide a system into optimal subsystems (if there are any) can be a hard task. The problem that occurs is of the same nature as the one with the hen and the egg. To get the best possible subsystems you need to have much of informa- 1. Normal indicates the average level of object-orientation that is usually found in the schools and in the industry among those software engineers that use object-oriented techniques. 2. As correct as possible, looked at form the subjective point of view of the software engineer. 2