什么是自以为是的软件? [英] What is opinionated software?

查看:23
本文介绍了什么是自以为是的软件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常看到人们说某些软件非常固执",或者 Microsoft 倾向于编写无主见"的框架.这实际上意味着什么?

I often see people saying that certain software is "very opinionated" or that Microsoft tends to write "un-opinionated" frameworks. What does this actually mean?

推荐答案

如果一个框架固执己见,它就会锁定或引导你进入他们做事的方式.

If a framework is opinionated, it lock or guides you into their way of doing things.

例如:有些人认为模板系统不应该提供对用户定义的方法和函数的访问,因为它让系统对返回原始 HTML 保持开放.因此,固执的框架开发人员只允许访问数据结构.根据设计,软件限制并鼓励设计师按照自己的方式做事.

For example: some people believe that a template system shouldn't provide access to user defined methods and functions as it leaves the system open to returning raw HTML. So an opinionated framework developer only allows access to data structures. By design, the software is limiting and encourages the designer into doing things their way.

另一个例子(取自信号链接)是wiki.wiki 的设计者有很多意见.他们认为 HTML 对人们来说太复杂了,所以他们想出了一种他们认为更自然的更新内容的方式.他们还去掉了花哨的设计,因为他们觉得应该更多地关注内容而不是设计.

Another example (taken from the signals link) is that of wiki. The designers of wiki had a lot of opinions. They thought HTML was too complicated for people to write, so they came up with what they felt was a more natural way to update content. They also stripped it of fancy design because they felt the focus ought to be more on content than design.

Apple 在设计产品时有强烈的意见.

Apple has strong opinions when it designs its products.

无主见的软件设计更像是 PERL/PHP.它允许开发人员并信任开发人员做出正确的决定,并将更多的控制权交给他们.

Un-opinionated software design is more like PERL/PHP. It allows the developer and trusts the developer to make the right decisions and puts more control in their hands.

我也将 Microsoft 置于无意见专栏中.Microsoft 框架的一个很好的例子,它是非独立的:.NET.通过开放 CLR 和规范,它向各种语言和实现风格开放.

I would also place Microsoft in the non-opinionated column. A good example of a Microsoft framework which is un-opininated: .NET. By opening the CLR and the specs, it opened it to all sorts of languages and styles of implementations.

这篇关于什么是自以为是的软件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆