D1.5 anyone?

ryuukk_ ryuukk.dev at gmail.com
Mon Apr 17 15:54:40 UTC 2023


On Saturday, 15 April 2023 at 10:29:10 UTC, Dmitry Olshansky 
wrote:
> On Friday, 14 April 2023 at 18:33:50 UTC, ryuukk_ wrote:
>> On Tuesday, 11 April 2023 at 13:32:53 UTC, Dmitry Olshansky 
>> wrote:
>>> [...]
>>
>>
>> With choose, for a new keyword, something very ugly?
>>
>> [...]
>
> One word  - backward compatibility. Keywords with __ are 
> reserved by the compiler.

If it's reserved by the compiler, it shouldn't be available for 
me to type, nor should it be providing a workaround to a poor 
design (tls)

What the user supposed to do?



>> [...]
>
> Maybe.
>
>>
>> [...]
>
> It will be an experiment, a backwards compatible one.
>> disappears, 0 compatibility with that code

Why backward when we can move forward? maintaining bad design is 
not desirable, at least to me, i'd rather move forward


This is a disconnect in D, the expectation that everyone is a 
compiler dev, and everyone should subscribe to maintaining the 
existence of poor design

As a result i have to type __gshared all over my code base, wich 
i hate so much that i'm willing to work D to rename that to 
notls, or @notls, unfortunatly i am not a compiler dev, so i have 
to cope with it, wich frankly is not something i want to deal 
with forever, at some point i'll move on and embrace a different 
language, unfortunatly, there is nothing on the market that's 
good enough to justify me porting over my code, again..



More information about the Digitalmars-d mailing list