Adding a new design constraint to D

forkit forkit at gmail.com
Wed Jun 15 03:05:00 UTC 2022


On Wednesday, 15 June 2022 at 02:53:32 UTC, forkit wrote:
>

for an OO programmer, coming to D, to delegate its encapsulation 
to the module, is an antipattern.

no wonder is causes some much controversy.

delegate a classes encapsulation to the module will come back to 
haunt him/her... and likely anyone that uses or maintains that 
code.

I'd recommend OO programmers consider very carefully, whether D 
is an appropriate choice of language.


More information about the Digitalmars-d mailing list