January 05

On Thursday, 4 January 2024 at 07:47:01 UTC, Waffle56 wrote:

>

Hello everyone, I wish you all a happy 2024 with my warmest regards.

I am a software developer with a deep passion for the D programming language, actively using it in my projects. In my own software company, we prefer to use D to meet the needs of our clients. However, I have some concerns about the future of this language.

What are your thoughts on the journey of the D language? Although it hasn’t gained widespread popularity since its launch, I see it as a hidden treasure waiting to be discovered. First and foremost, I would like to express my gratitude to everyone involved in developing this language, especially the core team. However, I believe we need to resolve the disagreements within our community and support this language more robustly.

From forum discussions, I understand that the D language is undergoing a process of forking. Forking can be positive in some instances, but how beneficial can such divisions be for a programming language that already has a limited community? Let's please come together to develop this language and advance this wonderful project that has been shaped by years of hard work, finding common ground without hurting anyone.

Let’s declare 2024 as the "Year of D". Spend this year spreading and using D more extensively. Together, let's take this project to the place it deserves. With your support, we have the opportunity to showcase the potential of the D language to the entire world.

Do keep in mind that the fork is just two people who have long been angry and extreme in both how they express their anger at D and how exaggerated their concerns are. Especially Grim, who has managed more than once to find the weirdest of problems/usecases nobody has but him. The community is still one and the same. It will not follow them over there. They will burn themselves out maintaining their fork alone and then they'll come back begging or leave D entirely.

January 05

On Friday, 5 January 2024 at 02:57:43 UTC, Doigt wrote:

>

Do keep in mind that the fork is just two people who have long been angry and extreme in both how they express their anger at D and how exaggerated their concerns are.

This is unfair to Adam, and does not characterise the vast majority of his contributions to the forums at all (yes, it appeared things escalated recently, and clearly there was some extreme frustration, as one could tell from his since-removed Boxing day post).

>

... The community is still one and the same. It will not follow them over there. They will burn themselves out maintaining their fork alone and then they'll come back begging or leave D entirely.

If Adam comes back to D, I hope he is welcomed back with open arms; it's a sad loss of a great contributor to Dlang as a whole, from the This Week in D blog, his arsd libs, right to his D Cookbook, which I found really helpful when I begin learning D.

Jordan K. Wilson

January 05
On 05/01/2024 5:19 PM, Jordan Wilson wrote:
> On Friday, 5 January 2024 at 02:57:43 UTC, Doigt wrote:
> 
>     Do keep in mind that the fork is just two people who have long been
>     angry and extreme in both how they express their anger at D and how
>     exaggerated their concerns are.
> 
> This is unfair to Adam, and does not characterise the vast majority of his contributions to the forums at all (yes, it appeared things escalated recently, and clearly there was some extreme frustration, as one could tell from his since-removed Boxing day post).

No. It is a very fair statement about both people.

It matches their statements and behavior over many years and over many different mediums.

This did not escalate quickly, it was intentional.

January 05
On Friday, 5 January 2024 at 04:26:33 UTC, Richard (Rikki) Andrew Cattermole wrote:
> On 05/01/2024 5:19 PM, Jordan Wilson wrote:
>> On Friday, 5 January 2024 at 02:57:43 UTC, Doigt wrote:
>> 
>>     Do keep in mind that the fork is just two people who have long been
>>     angry and extreme in both how they express their anger at D and how
>>     exaggerated their concerns are.
>> 
>> This is unfair to Adam, and does not characterise the vast majority of his contributions to the forums at all (yes, it appeared things escalated recently, and clearly there was some extreme frustration, as one could tell from his since-removed Boxing day post).
>
> No. It is a very fair statement about both people.
>
> It matches their statements and behavior over many years and over many different mediums.
>
> This did not escalate quickly, it was intentional.

This is off topic for both this thread and the forum. So let's please get back to the topic of making 2024 the year of D. Thanks!
January 06
On Friday, 5 January 2024 at 04:45:35 UTC, Mike Parker wrote:
> This is off topic for both this thread and the forum. So let's please get back to the topic of making 2024 the year of D. Thanks!

Thank you for getting us back on track, Mike. What I was trying to say is that we shouldn't have to worry about the community splitting anytime soon; making this year the Year of D should be possible.

I have a 3 ideas in my mind that should help make this happen:

1) People should make contributions to D in the form docs and tutorials. If anyone's drawing blanks, I have a couple of fun project ideas that should be relatively simple to implement and be excellent learning tools such as:
* emulating real life social games (rock-paper-scissors, tic tac toe, nim, guessing a random number, hangman, etc.)
* recreating classic video games (pacman, tetris, space invaders, boulder dash, sokoban, etc.)
* making simple websites (url bookmarks, basic chat, image gallery, etc.)

2) People should talk about D and showcase it to colleagues/fellow students at their jobs/uni. I have been quite successful in the past in getting around a dozen interested in the language. (unfortunately, the lack of good and easily approachable examples/docs/tutorials turned them almost all of them away from the language)

3) People should write about their projects and not just inside the D community space but also outside. Livestream your coding sessions guys. Make youtube vids about them. Generate content.

I know it's not easy to find the time, motivation or editing/writing/oral skills to do those things I suggested, so don't hesitate to team up where it makes sense to do so.
January 06

On Saturday, 6 January 2024 at 03:18:03 UTC, Doigt wrote:

>
  1. People should make contributions to D in the form docs and tutorials.

I would love to help...

I think that something that needs urgent attention is documentation for dub. It's criminally underdocumented, despite being a pretty good tool!

I've been learning it by basically looking at many other D projects and how they're using it... because the dub docs are just so incomplete. There's no CONTRIBUTING file on the dub project, so I assume I can just pick a topic and start writing docs for it and submit PRs?? Is there a "guide" or anything that can help find out how things work, or basically looking at the code is the only way to find out?

Basic stuff like which platforms can be specified is missing in the docs, lots of pages are incomplete...

Something else I found unnecessarily frustrating is that there's no "default" approach to testing D code. The official D docs seem to only talk about the built-in unittest and assert which are quite far from being sufficient for comprehensive testing... but as I've discovered after looking around at various existing projects, there seems to be really nice test runners (tested, unit-threaded), assertion libraries (dshould) etc. there really should be a "recommended" way to do it which involves good error reporting (reporting in general)... integrating with tools like this is really important, no one wants to look at a test failure in CI and have to spend more than a few minutes understanding exactly why and how the test failed.

About blog posts... I already wrote a basic blog post about my first impressions with D which I didn't publicize much yet because I still want to improve it a bit more... if I could write about how easy it is to start using D, add libs with dub, get test reports on GitHub Actions (or other CIs) easily and so on, that would be much nicer than my current post (which goes from showing how D is pretty nice, to complaining about these problems).

January 06
On 1/6/2024 12:24 PM, Renato wrote:
> I think that something that needs urgent attention is documentation for dub. 

Trying to fix the documentation for a large project like dub can look like an overwhelming task, with the result that nothing happens.

A way that works is to decide just fix one detail, one that is underdocumented and you know how it should work. Don't think about fixing the rest of it. Just the one problem.

Submit a PR, get it merged.

Then another detail. And so on.

It's amazing how much progress one can make just by taking a small step at a time.

Sometimes with the dlang documentation, I simply open a random page, and start reading. I'll inevitably find a paragraph or example that is crummy, and submit a fix for it.

The same goes for improving a large code base.
January 06
On Saturday, 6 January 2024 at 21:49:56 UTC, Walter Bright wrote:
> On 1/6/2024 12:24 PM, Renato wrote:
>> I think that something that needs urgent attention is documentation for dub.
>
> Trying to fix the documentation for a large project like dub can look like an overwhelming task, with the result that nothing happens.
> [snip]

Conveniently enough there has been quite a bit of progress recently on improving the dub documentation. Still room for improvement, but it looks better than it did a year ago IMO.


January 07
On Saturday, 6 January 2024 at 03:18:03 UTC, Doigt wrote:
> I have a 3 ideas in my mind that should help make this happen:
>
> 1) People should make contributions to D in the form docs and tutorials. If anyone's drawing blanks, I have a couple of fun project ideas that should be relatively simple to implement and be excellent learning tools such as:
> * emulating real life social games (rock-paper-scissors, tic tac toe, nim, guessing a random number, hangman, etc.)
> * recreating classic video games (pacman, tetris, space invaders, boulder dash, sokoban, etc.)
> * making simple websites (url bookmarks, basic chat, image gallery, etc.)

I plan to launch a project this month that I have developed using the D programming language. I am considering publishing educational materials in this language to contribute and expand knowledge. After gaining some more experience in mobile app development, I intend to create a chat system, but for now, my focus will be on developing a web-based chat system.
January 07
On 1/6/2024 2:01 PM, jmh530 wrote:
> Conveniently enough there has been quite a bit of progress recently on improving the dub documentation. Still room for improvement, but it looks better than it did a year ago IMO.

Ehhxcellent!