使用“组件”的软件组合- 需要澄清

发布于 2024-11-30 15:20:37 字数 226 浏览 3 评论 0原文

我在此处读到了软件组合的一个很好的定义。它说

软件组合是从实现与特定问题领域相关的抽象的组件构建软件应用程序

它是适合设计模式的这些抽象的构建吗?

I read a nice definition for software composition here. It says

Software composition is the construction of software applications from components that implement abstractions pertaining to a particular problem domain

Is it the construction of these abstractions where design patterns fit in?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

乱世争霸 2024-12-07 15:20:37

这是更高层次的抽象。模式解决常见的面向对象问题。

抽象、封装和信息隐藏与各个组件的级别相关。您可以在不使用模式的情况下完成后者。

That's a higher level abstraction. Patterns solve common object-oriented problems.

Abstraction, encapsulation, and information hiding are pertinent at the level of individual components. You can do the latter without ever employing patterns.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文