What features of D you would not miss?

bauss jacobbauss at gmail.com
Thu Sep 15 11:22:41 UTC 2022


On Thursday, 15 September 2022 at 11:15:21 UTC, Sergey wrote:
> On Thursday, 15 September 2022 at 08:40:22 UTC, Dukc wrote:
>> On Wednesday, 14 September 2022 at 05:58:53 UTC, Walter Bright 
>> wrote (on the thread about binary literals):
>>> On 9/13/2022 7:56 PM, Steven Schveighoffer wrote:
>>> On Wednesday, 14 September 2022 at 05:58:53 UTC, Walter 
>>> Bright wrote:
>>>> People often complain that D has too many features. What 
>>>> features would you say are not worth it?
>>>
>>> ImportC, -betterC, @nogc, nothrow, @live. These things don't 
>>> even *work* on their own terms, and they continue to have 
>>> additional downstream effects over several parts of D and the 
>>> ecosystem. Massive complication for little benefit.
>>>
>>> If I had to pick at gunpoint an established language feature 
>>> to remove, it would be betterC. But I can't see any features 
>>> I'd *want* to remove. D's features are pretty nice.
>>>
>>> -Steve
>
> I’m pretty surprised that people mentioned betterC.. I expected 
> improvements and development of that part.
> AFAIK it is the easiest way to use D in WebAssembly, also a lot 
> of great and high performant libs (like mir) working in betterC 
> mode only..

I considered writing betterC, but it arguably has a place. I 
think the problem is that it is a subset and it shouldn't be. It 
should just be possible to be barebone without resorting to a 
subset of the language.


More information about the Digitalmars-d mailing list