Abstraction
Abstraction can be thought of as a mechanism for suppressing irrelevant details while at the same time emphasizing relevant ones. An important benefit of abstraction is that it makes it easier for the programmer to think about the problem to be solved.
For example, procedural abstraction lets the software designer think about the actions to be performed without worrying about how those actions are implemented. Similarly, data abstraction lets the software designer think about the objects in a program and the interactions between those objects without having to worry about how those objects are implemented.
There are also many different levels of abstraction. The lower the levels of abstraction expose more of the details of an implementation whereas the higher levels hide more of the details.
本文探讨了抽象的概念及其在软件设计中的重要性。通过程序过程抽象和数据抽象,软件设计师能够更专注于解决问题本身,而不是实现细节。文章还介绍了不同级别的抽象如何影响软件设计。
5999

被折叠的 条评论
为什么被折叠?



