On Thu, 30 May 2013 18:57:37 +0100, ixid <nuacco...@gmail.com> wrote:
On Thursday, 30 May 2013 at 16:30:12 UTC, Iain Buclaw wrote:
On Thursday, 30 May 2013 at 16:18:44 UTC, Shriramana Sharma wrote:
Hello. I have always loved the readability of C++'s and/or/not/xor
word-like logical operators but It doesn't seem to be available in D.
Isn't this possible in D? I tried doing:
No, it isn't available... Thank goodness! :)
Why thank goodness? This would seem to significantly aid readability and
comprehension.
IMO it makes D more complex for insufficient gain. It takes very little
time to learn || && etc and once you do you can code in C, Java, C# ..
We really don't want D to become a TMTOWTDI language. Ideally there
should be 1 right way and no alternatives. That way, anyone who knows D
will have a greater chance of knowing what any given code sample does, and
not have to look up alternate syntax etc.
R
--
Using Opera's revolutionary email client: http://www.opera.com/mail/