Why is D unpopular
rikki cattermole
rikki at cattermole.co.nz
Mon Jun 13 17:34:32 UTC 2022
On 14/06/2022 5:08 AM, Ali Çehreli wrote:
> I was surprised too. Then I realized D's view was better that C++'s (my
> frame of reference at the time). Then I realized I've been under the
> influence of C++'s view of OOP. Then I thought more about what
> encapsulation actually means. Then I realized encapsulation has nothing
> to do with access control. I am much happier with this repaired frame of
> reference.
Replace C++ with Java and I'm the same.
> I find D's 'private' very useful and I doubt a single project had any
> problem with it.
Same.
I've got many more problems with export being a visibility modifier than
private has ever given me.
More information about the Digitalmars-d
mailing list