May 14, 2022

On Friday, 13 May 2022 at 21:54:04 UTC, max haughton wrote:

>

I have a PR which alters the error message you get if you do

void main()
{
  func() == 43;
}

This is an example of an error message which could be counterintuitive to a new D programmer,

Can D support error messages in multiple languages?
Such as Chinese/German/Russian/Turkey.

May 14, 2022

On Friday, 13 May 2022 at 21:54:04 UTC, max haughton wrote:

Can D support error messages in multiple languages?
Such as Chinese/German/Russian/Turkey.

May 13, 2022
On 5/13/22 21:07, zjh wrote:
> On Friday, 13 May 2022 at 21:54:04 UTC, max haughton wrote:
> 
> Can `D` support error messages in `multiple languages`?
> Such as `Chinese/German/Russian/Turkey`.
> 

OT: It is unlikely but possible that posts are sometimes stopped by a spam filter. That must be why zjh tried to post this a second time.

Ali
May 14, 2022

On Saturday, 14 May 2022 at 04:09:00 UTC, Ali Çehreli wrote:

>

stopped by a spam filter.

Right.

D forum should add a "author delete" function.
Likewise, each post could add something like votes , good posts will naturally come out and be collected together.
It's really convenient for beginners of d.

This way, the similar answer does not have to be repeated.

May 14, 2022

On Saturday, 14 May 2022 at 04:31:48 UTC, zjh wrote:

>

Likewise, each post could add something like votes ,

Or something like all kinds of tags such as range/fiber/commandline/auto ref/in/....

Making good use of the existing answers in the forum will be very beneficial for D beginners.
Moreover, excellent d expert do not have to repeat previous answers, and just provide a link.

May 14, 2022
On Sat, May 14, 2022 at 04:39:33AM +0000, zjh via Digitalmars-d-learn wrote:
> On Saturday, 14 May 2022 at 04:31:48 UTC, zjh wrote:
> 
> > Likewise, each post could add something like `votes` ,
> 
> Or something like all kinds of `tags` such as `range/fiber/commandline/auto ref/in/...`.
> 
> Making `good use` of the `existing answers` in the forum will be very
> beneficial for `D` beginners.
> Moreover, `excellent d expert` do not have to repeat `previous
> answers`, and just provide a link.
[...]

The D wiki could be used for this purpose. Whenever something in the forum is deemed worthy of long-term reference, somebody should copy it into an article on the wiki and link to it.


T

-- 
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
May 14, 2022

On Saturday, 14 May 2022 at 04:31:48 UTC, zjh wrote:

>

D forum should add a "author delete" function.
Likewise, each post could add something like votes , good posts will naturally come out and be collected together.
It's really convenient for beginners of d.

This way, the similar answer does not have to be repeated.

My thoughts - I also mentioned this in another thread. I think the main problem is that this forum is linked as news group too with custom client software and not everyone is using the web interface, so there is less interest to bring this up.

But I really wish the online forum would show newbies more activity by implementing topic specific categories or tags, so you could find them easier and feel more like "home". Every larger app with a news feed also has possibility to categorize/filter it.

May 14, 2022

On Saturday, 14 May 2022 at 08:51:24 UTC, H. S. Teoh wrote:

>

The D wiki could be used for this purpose.

Many of your posts are very good. I like them very much. Thank you.

I haven't played with wiki. However, Maybe we can organize and display good posts according to "author/category/label" and put them in the documents. In this way, "d" novices can also use it offline to learn from them quickly.Because many posts are practical examples.It's very good.

Moreover,d officials should reward excellent posters like submitting PR and encourage excellent answers.

In this way, D users/D expert(with good posts)/D language all win!

May 14, 2022

On Saturday, 14 May 2022 at 12:46:45 UTC, frame wrote:
Every

>

larger app with a news feed also has possibility to categorize/filter it.

I think we can set up a special web page to collect good posts and classify them according to 'author/category/label', and its content can be extracted directly from the forum.
Web pages are just used to organize them.

It can also be placed offline in the document. This is very good if there is enough content ,It will greatly reduce the threshold of D . Avoid others saying that no one can understand d.

May 14, 2022

On Wednesday, 11 May 2022 at 05:41:35 UTC, Ali Çehreli wrote:

>

What are you stuck at? What was the most difficult features to understand? etc.

Garbage collection.

I am not programming languages theorist at at, but my imression is:

  • GC came from purely functional languages where everything is immutable
  • GC in Haskel (for ex.) seems very natural and even absolutely necessary
  • GC is some kind of fashion and languages inventors try to put it to everywhere (golang)
>

To make it more meaningful, what is your experience with other languages?

GC looks very strange in C/C++ (done right, yeah) successor.