为什么酒吧和foo [英] why bar and foo

查看:118
本文介绍了为什么酒吧和foo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



为什么在这里使用酒吧和foo这么多?


我试过谷歌,但我只发现它们是什么,不是为什么它们是使用。


我的老师说bar和foo是坏话。


为什么人们使用它们?


Why use people here bar and foo so much?

I tried google, but I have only found what they are, not why they are used.

My teacher says bar and foo are bad words.

Why people use them?

推荐答案

2008年1月24日星期四20:07:19 -0600,Hans Schneider写了

(文章< 39 *** *************@aioe.org>):
On Thu, 24 Jan 2008 20:07:19 -0600, Hans Schneider wrote
(in article <39****************@aioe.org>):

>

为什么在这里使用人bar和foo这么多?


我试过谷歌,但我只发现它们是什么,而不是它们被使用的原因。

我的老师说酒吧和foo是坏话。
>
Why use people here bar and foo so much?

I tried google, but I have only found what they are, not why they are used.

My teacher says bar and foo are bad words.



你的老师很困惑。

Your teacher is confused.


为什么人们会使用它们?
Why people use them?



他们是通用的变量名,例如实际的

变量名并不重要,只是它们如何用在一块

代码中。

-

兰迪霍华德(2个人删除FOOBAR)

准确观察的力量被那些没有的人称为玩世不恭得到了它。 - George Bernard Shaw

They are "generic" variable names, for examples where the actual
variable name doesn''t really matter, only how they are used in a piece
of code.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw


Hans Schneider< ha ** @ localhost.localdomainwrites:
Hans Schneider <ha**@localhost.localdomainwrites:

为什么在这里使用bar和foo这么多人?


我试过谷歌,但我只发现它们是什么,而不是它们被使用的原因。

我的老师说酒吧和foo都是坏话。


为什么人们会用它们?
Why use people here bar and foo so much?

I tried google, but I have only found what they are, not why they are used.

My teacher says bar and foo are bad words.

Why people use them?



这真的不是C问题,但是:

http://www.catb.org/~esr/jargon/html/F/foo.html
http://www.catb .org / ~esr / jargon / html / B / bar.html
http://www.catb.org/~esr/jargon/html/F/foobar.html


我不知道为什么你的老师认为他们不好。话。一个

可能的推导确实指的是一个被认为是粗俗的词,但是

这个词与现代用法相差甚远,它并不重要。


如需进一步讨论,请尝试alt.folklore.computers(但请浏览

组和/或首先查看他们的常见问题解答)。


-

Keith Thompson(The_Other_Keith)< ks *** @ mib.org>

诺基亚

" ;我们必须做点什么。这是事情。因此,我们必须这样做。

- Antony Jay和Jonathan Lynn,是部长

This really isn''t a C question, but:

http://www.catb.org/~esr/jargon/html/F/foo.html
http://www.catb.org/~esr/jargon/html/B/bar.html
http://www.catb.org/~esr/jargon/html/F/foobar.html

I don''t know why your teacher thinks they''re "bad" words. One
possible derivation does refer to a word that''s considered vulgar, but
that''s far enough from the modern usage that it shouldn''t matter.

For further discussion, try alt.folklore.computers (but browse the
group and/or check their FAQ first).

--
Keith Thompson (The_Other_Keith) <ks***@mib.org>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"


Hans Schneider说:< br>
Hans Schneider said:

为什么在这里使用bar和foo这么多人?
Why use people here bar and foo so much?



他们是metasyntactic变量...

They are metasyntactic variables...


我试过谷歌,但我只发现了他们是,不是为什么他们是使用

I tried google, but I have only found what they are, not why they are
used.



....人们使用它们主要是因为它们比

" whatchamacallit",thingummybob更短,和dubrey,因此可以更快地输入。

....and people use them mostly because they''re shorter than
"whatchamacallit", "thingummybob", and "dubrey", and thus quicker to type.


我的老师说bar和foo是坏词。
My teacher says bar and foo are bad words.



你的老师错了。你的老师经常在没有先做一点基础研究的情况下做出过去的声明吗?如果是这样,你可能需要

解雇你的老师并雇用一个新的。


-

Richard Heathfield< http://www.cpax.org.uk>

电子邮件:-http:// www。 + rjh @

谷歌用户:< http://www.cpax.org.uk/prg/writings/googly.php>

Usenet是一个奇怪的放置" - dmr 1999年7月29日

Your teacher is mistaken. Does your teacher often make ex cathedra claims
without first doing a little basic research? If so, you probably need to
fire your teacher and hire a new one.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999


这篇关于为什么酒吧和foo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆