February 09, 2023

On Wednesday, 8 February 2023 at 12:07:35 UTC, zjh wrote:

>

On Friday, 20 January 2023 at 11:28:23 UTC, thebluepandabear wrote:

>

Hi,

In Java/C# you can create purely static classes.
...

Last time, someone proposed to add private like C++'s, and then it was the same,they are always unwilling to add facilities useful to others, and then he left D.

yeah the whole module behaviour with private is just a massive turn off tbh, it needs to be changed to match the Java style

February 09, 2023

On Thursday, 9 February 2023 at 12:55:41 UTC, Guillaume Piolat wrote:

>

yeah right let's implement everything that people propose

I like the concept of C++: I provide facilities, you can use it or not.
Not that you can only do it like this! This is the only way.
What's more, people put forward a reasonable request. It has been implemented, but it just not been merged. Maybe he thinks D does not welcome people who are used to C++.

February 09, 2023

On Thursday, 9 February 2023 at 13:07:56 UTC, thebluepandabear wrote:

>

yeah the whole module behaviour with private is just a massive turn off tbh, it needs to be changed to match the Java style

They don't even admit the smaller the encapsulation, the better.

February 09, 2023

On Thursday, 9 February 2023 at 13:32:36 UTC, zjh wrote:

>

They don't even admit the smaller the encapsulation, the better.

Our predecessors used D very early. At first, they were very excited. But later, they left because some people in D were too stubborn.
You can provide facilities, but you just don't do it! Others had to leave.

Therefore, the community is very small.

February 09, 2023

On Thursday, 9 February 2023 at 13:41:27 UTC, zjh wrote:

>

Our predecessors used D very early. At first, they were very excited. But later, they left because some people in D were too stubborn.
Therefore, the community is very small.

Our predecessors are very smart people, and they left.
The loss of D community is very large.

February 09, 2023

On Thursday, 9 February 2023 at 13:49:03 UTC, zjh wrote:

>

..

There are too few newcomers to D, and D must change.
If I can, I think 'D++' is a good idea! Learn from a successful language!

The typical feature of C++ is that you have it. Although I don't have it now, I will have it sooner or later. If D is the same, it may expand the community, because you can attract programmers from 'java, C++, py, C# and so on.

February 09, 2023

On Thursday, 9 February 2023 at 14:03:41 UTC, zjh wrote:

>

If I can, I think 'D++' is a good idea! Learn from a successful language!

Don't be afraid of D becoming complex. C++ is already super complex. Aren't there more and more people still using it?

Therefore, I don't approve of the behavior of reluctant to add new features.
If it's me, as long as the new features are very good and meet people's needs, I will be very aggressive in 'adding new features'!

February 09, 2023
On Thursday, 9 February 2023 at 13:00:04 UTC, thebluepandabear wrote:
> For my school I am commissioned to create many types of software. I tried to have a look at some of the gui kits in D but there was no tutorial for how to use them and they seemed as if they are lacking features in comparison to Qt/JavaFX.

So your objection is one of newbie documentation. That's fair. Qt I always thought had nice docs, they're hard to beat. I've been slowly adding more to my stuff but it is a slow process.

idk about features though, you saying "seemed" means you probably don't even actually know what they have so that's not as actionable.
February 09, 2023
On 2/8/23 04:07, zjh wrote:

> Last time, someone proposed to add `private` like `C++'s`,

We've discussed the 'private' topic very many times already. C++'s private necessitate the 'friend' keyword, which comes with it's own problems.

Besides, D has zero problems with its private implementation in the sense that there has been zero bugs related to it being that way. Given the number of individuals who bring this topic up over and over up is so few that I don't think there is a common problem.

Do you have actual bugs related to this? "Wanting" the inclusion of a feature is sufficient.

In contrast, I use D every day and love its relaxed attitude towards private.

> and then it
> was the same,they are always unwilling to add facilities useful

That is not correct. The truth is, nobody is jumping to implementations just because some people think they are useful. There are always valid reasons for including a feature or not.

Ali

February 09, 2023
On Thursday, 9 February 2023 at 20:05:06 UTC, Ali Çehreli wrote:
> On 2/8/23 04:07, zjh wrote:
>
> > Last time, someone proposed to add `private` like `C++'s`,
>
> We've discussed the 'private' topic very many times already. C++'s private necessitate the 'friend' keyword, which comes with it's own problems.
>
> Besides, D has zero problems with its private implementation in the sense that there has been zero bugs related to it being that way. Given the number of individuals who bring this topic up over and over up is so few that I don't think there is a common problem.
>
> Do you have actual bugs related to this? "Wanting" the inclusion of a feature is sufficient.
>
> In contrast, I use D every day and love its relaxed attitude towards private.
>
> > and then it
> > was the same,they are always unwilling to add facilities
> useful
>
> That is not correct. The truth is, nobody is jumping to implementations just because some people think they are useful. There are always valid reasons for including a feature or not.
>
> Ali

You mentioned previously that D implements various things in unprincipled ways.

I guess, if one wants to use D, one has to be comfortable with this.

But using a relaxed attitude towards the implementation of such a common and important abstraction, that in turn allows me to so easily shoot myself in the foot, is not really an attractive feature .. to me ;-)

btw. When a newbie to D raises ideas, suggestions, etc... and you counter them with (in essence) 'we don't need that in D, but go write a dip if you think we do' attitude, is a real turn off.