Top down and Bottom up programming

前端 未结 10 1268
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-30 03:37

Why do we say languages such as C are top-down while OOP languages like Java or C++ are bottom-up? Does this classification have any importance in software development?

10条回答
  •  半阙折子戏
    2021-01-30 04:03

    Most of the procedural or low level languages follow Top-down approach like C language.Similarly high level languages like java ,c++ etc follows Bottom-Up Approach.

    In Top-down approach,all the system or big functions are broken down into small subsystem whereas in Bottom-up approach,Small sub-system are combined together to develop a big and final system.

    e.g.Recursive is top down approach while Iterative is Bottom up approach.

提交回复
热议问题