On Monday, 22 January 2024 at 23:28:40 UTC, Jonathan M Davis
wrote:
Of course, ultimately, different programmers have different
preferences, and none of us are going to be happy about
everything in any language. So, of course, there are going to
be some folks who are unhappy with how D defines
On Monday, January 22, 2024 11:05:28 PM MST Chris Katko via Digitalmars-d-
announce wrote:
> ```D
> class dataGridLayerView{
> int t;
> this(int _t){
>t = _t;
>}
> }
>
> class myClass{
> dataGridLayerView dataGrid;
>
> this()
>{
>dataGrid = new
```D
class dataGridLayerView{
int t;
this(int _t){
t = _t;
}
}
class myClass{
dataGridLayerView dataGrid;
this()
{
dataGrid = new auto(15); // <--- new
// instead of
dataGrid = new dataGridLayerView(15);
}
}
```
Because it seems,
On Monday, January 22, 2024 4:01:54 PM MST Walter Bright via Digitalmars-d-
announce wrote:
> On 1/21/2024 3:51 AM, zjh wrote:
> > When you need `friend`, You can put them all in one module.
> > Sometimes, when `multiple classes` are closely related and independent,
> > `class level privacy`
On 1/21/2024 3:51 AM, zjh wrote:
When you need `friend`, You can put them all in one module.
Sometimes, when `multiple classes` are closely related and independent, `class
level privacy` becomes very important. No one wants , someone from outside may
secretly steal money from your home.
D
On 1/21/2024 3:46 AM, Dom DiSc wrote:
`class-private` is superfluous cruft. You can very easy live without it.
And it has only no side effects, if it is implemented without `friend`s. But
without this misfeature it is incomplete.
Therefor it was decided not to implement it.
It would be ok for
On Saturday, 20 January 2024 at 16:03:52 UTC, ryuukk_ wrote:
On Saturday, 20 January 2024 at 15:25:35 UTC, Renato wrote:
On Saturday, 20 January 2024 at 14:14:10 UTC, Hipreme wrote:
- I have tried contributing to dub's project on
parallelization, I waste 1 week trying that and could not get