Interesting rant about Scala's issues

Meta jared771 at gmail.com
Fri Apr 4 11:18:44 PDT 2014


On Friday, 4 April 2014 at 18:15:43 UTC, Meta wrote:
>> And another:
>>
>>  array[A + 1] = t; // Error: incompatible types Index and int
>>
>> And another:
>>
>>  enum Mask { A=1,B=4 }
>>
>>  Mask m = A | B;   // Error: incompatible operator | for enum
>>
>> and on it goes. These are routine and normal uses of enums.

https://github.com/D-Programming-Language/phobos/pull/2058

Perhaps we *will* get typesafe enums of a sort via a library 
implementation.


More information about the Digitalmars-d-announce mailing list