分页: 1 / 1

vi/vim

发表于 : 2012-03-16 10:17
junfengfan
vi/vim有个用法:
Use "w" "b" "c" to move 'words'. A 'word' is a sequence of all alphanummeric or
punctuation signs: quux (foo,bar,baz);
请问 quux (foo,bar,baz) 是什么意思?

http://www.viemu.com 网站上的第一张图片上面的内容。

回复: vi/vim

发表于 : 2012-03-16 20:23
levi
查询wikipedia foobar 词条


The terms foobar /ˈfʊːbɑː/, fubar, or foo, bar, baz and qux (alternatively quux) are sometimes used as placeholder names (also referred to as metasyntactic variables) in computer programming or computer-related documentation. They have been used to name entities such as variables, functions, and commands whose purpose is unimportant and serve only to demonstrate a concept. The words themselves have no meaning in this usage.
看起来是用来举例而没有实际意义的词,类似与汉语里泛指某个人的时候常说“张三、李四”的情况。