What does vanilla mean?

2019-01-13 23:55发布

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?

3条回答
我想做一个坏孩纸
2楼-- · 2019-01-14 00:20

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楼-- · 2019-01-14 00:35

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

查看更多
贼婆χ
4楼-- · 2019-01-14 00:36

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.

查看更多
登录 后发表回答