二话不说先砸维基上的定义:
A top-down approach (also known as stepwise design) is essentially the breaking down of a system to gain insight into the sub-systems that make it up. In a top-down approach an overview of the system is formulated, specifying but not detailing any first-level subsystems. Each subsystem is then refined in yet greater detail, sometimes in many additional subsystem levels, until the entire specification is reduced to base elements. Once these base elements are recognised then we can build these as computer modules. Once they are built we can put them together, making the entire system from these individual components.
这几句话翻译过来,大概就是:解决问题的时候,不是先看看我们有什么(API,轮子,算法等等),而是先看看人家要什么(雾),然后再把需求拆解,直到拆解出来的每个子问题都可以用已知的方法轻松解决。
这个问题解决思想在程序设计中被广泛应用,这个方法有助于完全地理解需求,也只有当完全地理解了需求以后,这个程序的设计才能