In this post, we will understand the difference between top-down approach and bottom-up approach.
In this approach, the problem is broken down into smaller parts.
It is generally used by structured programming languages such as C, COBOL, FORTRAN.
It may have redundancy since every part of the code is developed separately.
There is less interaction and communication between the modules.
Decomposition approach is used here.
It is generally difficult to identify.
The implementation depends on the programming language and platform.
It is generally used with documentation of module and debugging code.
In this approach, the smaller problems are solved.
These solved problems are integrated to find the solution to a bigger problem.
It is generally used with object oriented programming paradigm such as C++, Java, Python.
Data encapsulation and data hiding is implemented in this approach.
It is generally used in testing modules.
Composition approach is used here.