什么是固执己见的软件? [英] What is opinionated software?

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

问题描述

我经常看到有人说,某些软件是固执己见,或者说微软倾向于写非自以为是的框架。什么,这实际上意味着?

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 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.

我也将使微软在非固执己见柱。微软框架是联合国opininated的一个很好的例子: .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天全站免登陆