Adding a new design constraint to D

Olivier Pisano olivier.pisano at laposte.net
Thu Jun 16 11:45:11 UTC 2022


On Thursday, 16 June 2022 at 10:46:33 UTC, forkit wrote:
>
> My point is, either it supports one of the most important 
> aspects I've worked with in OOP over 20 years, or it doesn't.
>
> i.e. it doesn't.
>
> would be nice if it did - 'if' it could fit in the language and 
> work well with other things.
>
> are you suggesting i want it in the language, no matter what 
> the cost is?

I am suggesting that if I copied and pasted some random D feature 
in another language, it may not fit in that language, because the 
context is different. D has already some features that don't play 
along well together (immutability and OOP, for instance).

I am suggesting that 'because some other language has it' is not 
a valid argument, whether or not that language is successful.

I am suggesting language design is hard.

I am suggesting you write a DIP, so you can come with an 
evaluation of this cost, since you are the one asking for it.





More information about the Digitalmars-d mailing list