This is a principle that is well known and often cited in the Ruby community, though it is usually called the principle of Least Surprise or POLS. (I myself stubbornly prefer the acronym LOLA.)
这是一条在Ruby社区广为人知并且频繁引用的原则,虽然通常被称为最小诧异原则或者POLS(本人更喜欢LOLA)。
This is called the Principle of Least Surprise.
这称为最少意外原则(Principle of Least Surprise)。
One other thing that makes me very happy with Ruby is the Principle of Least Surprise.
另一个使我觉得使用Ruby很快乐的事情是Least Surprise原则。
应用推荐