On 30 April 2012 10:32, Don Clugston <d...@nospam.com> wrote:

> On 29/04/12 20:08, Manu wrote:
>
>> On 29 April 2012 18:50, Don <nos...@nospam.com
>> <mailto:nos...@nospam.com>> wrote:
>>
>>
>>    On 28.04.2012 20:47, Walter Bright wrote:
>>
>>        Andrei and I had a fun discussion last night about this
>>        question. The
>>        idea was which features in D are redundant and/or do not add
>>        significant
>>        value?
>>
>>        A couple already agreed upon ones are typedef and the cfloat,
>>        cdouble
>>        and creal types.
>>
>>        What's your list?
>>
>>
>>    * The >>> operator, which does nothing except introduce bugs (It
>>    does NOT perform an unsigned shift).
>>
>>
>> What does it do? I use this all over the place, I assumed it worked...
>> maybe I have bugs?
>>
>
> It works only for two types: int and long.
> For everything else, it is identical to >>
> So for short and byte, and in generic code, it's ALWAYS a bug.
>

O_O
Is that intentional? Or is it... a bug?
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).

Reply via email to