The goal of the coding or
programming phase is to translate the design of the system produced during the
design phase into code in a given programming language, which can be executed
by a computer and that performs the computation specified by the design.
The coding phase affects both
testing and maintenance. The goal of
coding is not to reduce the implementation cost but the goal should be to
reduce the cost of later phases. In other words the goal is not to simplify the
job of programmer. Rather the goal
should be to simplify the job of the tester and maintainer.
6.1 Coding Approach
There
are two major approaches for coding any software system. They are top-Down approach and Bottom-up
approach.
Bottom-up approach can be best
suitable for developing the object oriented systems. During system design phase
to reduce the complexity, we decompose the system into an appropriate number of
subsystems, for which objects can be modeled independently. These objects
exhibit the way the subsystems perform their operations. Once objects have been modeled they are implemented by means of
coding. Even though related to the same system as the objects are independent
of each other the Bottom up approach is more suitable for coding these objects.
In this approach we first do
the coding of objects independently and then we integrate these modules into
one system to which they belong.
No comments:
Post a Comment