Why is there no or or and ?

bcs bcs at example.com
Sat Feb 18 09:45:10 PST 2012


On 02/16/2012 09:14 PM, H. S. Teoh wrote:
> On Thu, Feb 16, 2012 at 09:00:39PM -0800, Walter Bright wrote:
>> On 2/16/2012 8:47 PM, H. S. Teoh wrote:
>>> Well, in that case, we should replace 'in' with '∈'.
>>
>> I would, but that doesn't work because of keyboarding issues.
>
> I wasn't being serious.  I was going to suggest to those who complain
> about&&  being too similar to&, that we should adopt ∧ and ∨ instead.
> Nice and readable, and unambiguous. And we could use ∀ instead of
> 'foreach'; that would save so much typing!

∀ is "for all" so it couldn't be used. The code might hit a break.

>  I mean, D is already
> standardized on Unicode, why not take advantage of all those nice
> symbols that Unicode provides? ;-) (As long as you don't mention APL,
> everybody will be just fine.)
>
>
> T
>



More information about the Digitalmars-d mailing list