What features of D you would not miss?

bauss jacobbauss at gmail.com
Fri Sep 16 06:35:41 UTC 2022


On Friday, 16 September 2022 at 06:34:01 UTC, bauss wrote:
> On Friday, 16 September 2022 at 05:18:01 UTC, Walter Bright 
> wrote:
>> On 9/15/2022 7:10 AM, bauss wrote:
>>> I would be all for this if we could get something like 
>>> opImplCast() which would basically be the same as opCast() 
>>> but without requiring cast.
>>
>> That sounds like a good idea, was tried in C++, and didn't 
>> work out very well.
>>
>> The trouble is it works great in simple cases, but with more 
>> complex overloads nobody can figure out what's happening.
>
> Was tried in C# and it works out well. Just because it fails in 
> one language, doesn't mean it does in another.

Oh and it's certainly much better than alias this.


More information about the Digitalmars-d mailing list