Foobar
foobar
历史
编辑从技术上讲,“foobar”很
例 子
编辑
单词“foobar”
“foo”“bar”
//Java code
String foo = "Hello, ";
String bar = "World";
System.out.println(foo + bar);
//Hello, World is printed to the screen by printing foo and bar
// C code
#include <stdio.h>
int main()
{
char foo[] = "Hello,";
char bar[] = "World!";
printf("%s %s\n", foo, bar);
return 0;
}
// C++ code
#include <iostream>
#include <string>
using namespace std;
int main()
{
string foo = "Hello,";
string bar = "World!";
cout << foo << " " << bar << endl;
return 0;
}
# Python code
foo = "Hello,"
bar = "World!"
print(foo + bar)
参 见
编辑
参考 文献
编辑
- ^ 《
新 黑 客 辞典 》 (页面存 档备份,存 于互联网档案 馆)(The Jargon File) - ^ The History of Bill Holman. Smokey Stover. 2007-06-13 [2019-08-17]. (
原始 内容 存 档于2019-08-30). - ^ What does foo mean?. Dictionary.com. [2019-08-17]. (
原始 内容 存 档于2019-08-17).
外部 连接
编辑
- The Jargon File entry on foobar(页面
存 档备份,存 于互联网档案 馆) - RFC 3092 - Origin and usage of foobar
- Foobar2000 is an advanced audio player for the Windows platform
- RFC 1639 - FTP Operation Over Big Address Records (FOOBAR)