<div class="gmail_extra"><div class="gmail_quote">On 30 April 2012 10:32, Don Clugston <span dir="ltr"><<a href="mailto:dac@nospam.com" target="_blank">dac@nospam.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 29/04/12 20:08, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 29 April 2012 18:50, Don <<a href="mailto:nospam@nospam.com" target="_blank">nospam@nospam.com</a><br>
<mailto:<a href="mailto:nospam@nospam.com" target="_blank">nospam@nospam.com</a>>> wrote:<div class="im"><br>
<br>
    On 28.04.2012 20:47, Walter Bright wrote:<br>
<br>
        Andrei and I had a fun discussion last night about this<br>
        question. The<br>
        idea was which features in D are redundant and/or do not add<br>
        significant<br>
        value?<br>
<br>
        A couple already agreed upon ones are typedef and the cfloat,<br>
        cdouble<br>
        and creal types.<br>
<br>
        What's your list?<br>
<br>
<br></div>
    * The >>> operator, which does nothing except introduce bugs (It<br>
    does NOT perform an unsigned shift).<br>
<br>
<br>
What does it do? I use this all over the place, I assumed it worked...<br>
maybe I have bugs?<br>
</blockquote>
<br>
It works only for two types: int and long.<br>
For everything else, it is identical to >><br>
So for short and byte, and in generic code, it's ALWAYS a bug.<br>
</blockquote></div><div class="gmail_extra"><br></div>O_O</div><div class="gmail_extra">Is that intentional? Or is it... a bug?</div><div class="gmail_extra">I smiled when I saw >>> in the language, I appreciate its presence. It's not necessary, but it cuts down on some ugly explicit casting (which theoretically makes generic code simpler).</div>