AndAlso和OrElse的民谣 [英] The Ballad of AndAlso and OrElse

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

问题描述

Paul Vick发布了这个博客(下面的链接),AndAlso和OrElse的歌谣,

我注意到人们半定期讨论这个话题,所以我想

我会为可能错过的任何人发布虚假的官方消息



http://tinyurl.com/larl

~

Jeremy

Paul Vick posted this Blog (link below), "The Ballad of AndAlso and OrElse",
and I noticed people were discussing this topic semi-regularly so I thought
I would post the pseudo-official word of Blog for anyone who may have missed
it:

http://tinyurl.com/larl
~
Jeremy

推荐答案

>乍一看,它看起来是否有一个很长的决定方式。第二次看,我
> At first sight it looks if it has a long decission way. On second look I
不相信它有,这看起来像是一夜发明。
编程语言中非历史现有的运算符使用
字总是在英语。
对于来自世界上的大多数人来说也许是不好的,因为那不是他们的自然语言,而是因为只有几句话,它从来没有给b $ b任何困难。


有趣......但如果你不懂英语,OrElse真的是什么

与||不同?如果你不理解

语言,它们都只是符号。

另外和它们甚至不是英语单词,它们不存在于任何语言中从这篇文章的意思来说。
所以当他们想把它分成两个时,我认为对于
按位运算符同样可以使用||和&&它具有相同的抽象,就像没有现有的单词一样,也可以和另外一样。
(我跟ElseIf一样,但我希望那些话会慢慢离开VB,我总是遇到麻烦那个)
(关于Strict Off的句子当然是最大的笑声。)
don'' believe that it had, this looks like a one night invention.
The non historical existing operators in programming languages who used
words where always in English.
Maybe bad for the most people from the world, because that is not their
natural language but because it where just a few words it never did give any difficulties.
Interesting... but if you dont understand english, is OrElse really any
different from || ? They are both just symbols if you dont understand the
language.
AlsoAnd and AlsoOr are even not English words, they don''t exist in any
language in the meaning from this article.
So when they had want to divide that in two the had in my opinion for the
bitwise operators for the same could use the || and the && which has the
same abstraction like the none existing words AlsoOr and AlsoAnd.
(I have the same with the ElseIf but my hope was that those word would
slowly leave VB, I have always trouble with that)
(And the sentence about Strict Off is of course a maximum laugh).






我可以看到VB。 NET有人错过了第二个
操作数或OrElse:


如果A = B OrElse然后MsgBox(你好)


然后编译器回转并说,OrElse是什么?


-

HTH,

- Tom Spink,überGeek


请回复新闻组,

所以所有人都可以受益

" ; COR'QUOT; < no*@non.com>在消息中写道

news:3f *********************** @ reader21.wxs.nl ...
I can see VB.NET coming to a point where somebody has missed out the second
operand or OrElse:

If A = B OrElse Then MsgBox("Hello")

And the compiler turning round and saying, OrElse what?

--
HTH,
-- Tom Spink, über Geek

Please respond to the newsgroup,
so all can benefit
"Cor" <no*@non.com> wrote in message
news:3f***********************@reader21.wxs.nl...
Jeremy,
乍一看,它看起来是否有一个很长的决定方式。第二眼看,我不相信它有,这看起来像是一夜发明。
编程语言中非历史的现有操作员,他们总是使用英语。
对于来自世界上的大多数人来说可能不好,因为这不是他们的自然语言,而是因为它只是几句话它从来没有给b $ b任何困难。
也和它们也是即使不是英语单词,它们也不存在于本文意义上的任何语言中。
所以当他们想要将其分成两部分时,我认为
相同的按位运算符可以使用||和&&它具有相同的抽象,就像没有现有的单词一样,也可以和另外一样。
(我跟ElseIf一样,但我希望那些话会慢慢离开VB,我总是遇到麻烦那个)
(关于Strict Off的句子当然是最大的笑声)。
Cor
Jeremy,
At first sight it looks if it has a long decission way. On second look I
don'' believe that it had, this looks like a one night invention.
The non historical existing operators in programming languages who used
words where always in English.
Maybe bad for the most people from the world, because that is not their
natural language but because it where just a few words it never did give any difficulties.
AlsoAnd and AlsoOr are even not English words, they don''t exist in any
language in the meaning from this article.
So when they had want to divide that in two the had in my opinion for the
bitwise operators for the same could use the || and the && which has the
same abstraction like the none existing words AlsoOr and AlsoAnd.
(I have the same with the ElseIf but my hope was that those word would
slowly leave VB, I have always trouble with that)
(And the sentence about Strict Off is of course a maximum laugh).
Cor



阅读它我看到了麻烦的平安。 &对于

按位运算符在VB中无法使用,从未想到这一点。
Reading it over I see a peace of the trouble. The & is unusable in VB for a
bitwise operator, never thought of that.


这篇关于AndAlso和OrElse的民谣的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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