Is there some kind of Blocking Queue for D?

Ali Çehreli acehreli at yahoo.com
Sat Jul 12 23:55:39 UTC 2025


On 7/11/25 11:36 PM, Bienlein wrote:

 > Unhappily class MessageBox is private and therefore cannot be reused.

Ah! :) That's one more data point against 'private', that little feature 
that helps with nothing. I don't know what language invented it but I 
wouldn't be surprised if it came to D from C++.

The only thing 'private' achieves is this: You don't want your users to 
be disappointed when they go out of their way to use features that they 
are advised not to use, and those features behave differently in the 
future. Really? That never happens. Well, if it indeed happened ever, 
the user went out of their way to be surprised, didn't they?

Meanwhile, engineers like you suffer because of 'private'. I pick 
engineering over 'private' any day.

Ali



More information about the Digitalmars-d-learn mailing list