为什么酒吧和foo

编程入门 行业动态 更新时间:2024-10-26 19:39:44
本文介绍了为什么酒吧和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>): On Thu, 24 Jan 2008 20:07:19 -0600, Hans Schneider wrote (in article <39****************@aioe>): > 为什么在这里使用人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问题,但是: www.catb/~esr/jargon/html/F/foo.html http://www.catb / ~esr / jargon / html / B / bar.html www.catb/~esr/jargon/html/F/foobar.html 我不知道为什么你的老师认为他们不好。话。一个 可能的推导确实指的是一个被认为是粗俗的词,但是 这个词与现代用法相差甚远,它并不重要。 如需进一步讨论,请尝试alt.folkloreputers(但请浏览 组和/或首先查看他们的常见问题解答)。 - Keith Thompson(The_Other_Keith)< ks *** @ mib> 诺基亚 " ;我们必须做点什么。这是事情。因此,我们必须这样做。 - Antony Jay和Jonathan Lynn,是部长

This really isn''t a C question, but: www.catb/~esr/jargon/html/F/foo.html www.catb/~esr/jargon/html/B/bar.html www.catb/~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.folkloreputers (but browse the group and/or check their FAQ first). -- Keith Thompson (The_Other_Keith) <ks***@mib> Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"

Hans Schneider说: 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.uk> 电子邮件:-http:// www。 + rjh @ 谷歌用户:< www.cpax.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 <www.cpax.uk> Email: -www. +rjh@ Google users: <www.cpax.uk/prg/writings/googly.php> "Usenet is a strange place" - dmr 29 July 1999

更多推荐

为什么酒吧和foo

本文发布于:2023-10-16 15:55:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1498038.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:酒吧   foo

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!