What does vanilla mean?

爷,独闯天下 提交于 2019-11-26 19:47:38

问题


The vanilla adjective appears in many places: plain-vanilla java, vanilla javascript: what does it exactly mean?

From context, is seems to stand for something "plain".

When is a specific code considered vanilla and when is it not? Plain, like not wrapped in a framework?


回答1:


From wiki :

Computer software, and sometimes also other computing-related systems like computer hardware or algorithms, is called Vanilla when not customized from its original form, meaning that it is used without any customizations or updates applied to it.

http://en.wikipedia.org/wiki/Vanilla_software




回答2:


Vanilla often refers to pure or plain. So in terms of programming languages, it means either without the use of 3rd party libraries or without the use of frameworks.




回答3:


It derives from the time when, of the various flavours of ice-cream available, vanilla flavour was the most common, simple and often even the only one available. Other flavours were rarer and more exotic.

In programming terms it does not refer to anything specific but implies any or all of:

  • No bells and whistles
  • No extra (perhaps unnecessary) features
  • Uses no external libraries
  • The pure language without any extras

Despite how boring "vanilla" might be seen in terms of ice-cream, it's rarely used derogatively in programming.



来源:https://stackoverflow.com/questions/20836115/what-does-vanilla-mean

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!