www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Features of D That I Love

reply Walter Bright <newshound2 digitalmars.com> writes:
Is now on the front page of news.ycombinator.com!
Jul 02
next sibling parent reply Bradley Chatha <sealabjaster gmail.com> writes:
On Wednesday, 2 July 2025 at 23:14:36 UTC, Walter Bright wrote:
 Is now on the front page of news.ycombinator.com!
I'm glad Hackernews is taking it a bit better. I gave up responding to Reddit :D One thing that's taken me by surprise is that some people are interpreting this as "These are the BEST features of D (prepare to be underwhelmed)" or "These 100%-unique features of D are incredible (bow down peasants)". When my intention was simply "Here's a high-level look at some less talked about features (+ CTFE & UFCS) I think are cool, not necessarily THE best or THE most interesting, in an easy to digest format". I definitely need to find a way to better convey my messaging I guess :)
Jul 03
next sibling parent reply jmh530 <john.michael.hall gmail.com> writes:
On Thursday, 3 July 2025 at 12:13:58 UTC, Bradley Chatha wrote:
 On Wednesday, 2 July 2025 at 23:14:36 UTC, Walter Bright wrote:
 Is now on the front page of news.ycombinator.com!
I'm glad Hackernews is taking it a bit better. I gave up responding to Reddit :D
reddit isn't as active for programming discussions as hackernews
Jul 03
parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/3/2025 7:09 AM, jmh530 wrote:
 reddit isn't as active for programming discussions as hackernews
I gave up following programming discussions on reddit several years ago. Most of it was uninteresting. HN is much better.
Jul 03
prev sibling next sibling parent reply Mengu <mengukagan gmail.com> writes:
On Thursday, 3 July 2025 at 12:13:58 UTC, Bradley Chatha wrote:
 On Wednesday, 2 July 2025 at 23:14:36 UTC, Walter Bright wrote:
 Is now on the front page of news.ycombinator.com!
I'm glad Hackernews is taking it a bit better. I gave up responding to Reddit :D One thing that's taken me by surprise is that some people are interpreting this as "These are the BEST features of D (prepare to be underwhelmed)" or "These 100%-unique features of D are incredible (bow down peasants)". When my intention was simply "Here's a high-level look at some less talked about features (+ CTFE & UFCS) I think are cool, not necessarily THE best or THE most interesting, in an easy to digest format". I definitely need to find a way to better convey my messaging I guess :)
Thanks for writing this! Are you considering writing a part two for this? If so, templates, import-c, better-c, mixins, template mixins, nogc/safe/pure would be good follow up. :)
Jul 03
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/3/2025 3:22 PM, Mengu wrote:
 Thanks for writing this! Are you considering writing a part two for this? If
so, 
 templates, import-c, better-c, mixins, template mixins, nogc/safe/pure would
be 
 good follow up. :)
Two thumbs up from me!
Jul 03
prev sibling parent Bradley Chatha <sealabjaster gmail.com> writes:
On Thursday, 3 July 2025 at 22:22:38 UTC, Mengu wrote:
 Thanks for writing this! Are you considering writing a part two 
 for this? If so, templates, import-c, better-c, mixins, 
 template mixins, nogc/safe/pure would be good follow up. :)
I wanted to make a follow up focused on metaprogramming, but I guess I can technically make as many follow ups as I want as long as they get spaced out enough.
Jul 04
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
Different sides of D appeal to different people, that's for sure.
Jul 03
prev sibling parent reply matheus <matheus gmail.com> writes:
On Wednesday, 2 July 2025 at 23:14:36 UTC, Walter Bright wrote:
 Is now on the front page of news.ycombinator.com!
Could you please share the URL for those who can't access this site? Thanks, Matheus.
Jul 03
parent reply Dejan Lekic <dejan.lekic gmail.com> writes:
On Thursday, 3 July 2025 at 13:28:22 UTC, matheus wrote:
 Could you please share the URL for those who can't access this 
 site?
Very nice article: https://bradley.chatha.dev/blog/dlang-propaganda/features-of-d-that-i-love/
Jul 03
parent reply matheus <matheus gmail.com> writes:
On Thursday, 3 July 2025 at 13:33:55 UTC, Dejan Lekic wrote:
 On Thursday, 3 July 2025 at 13:28:22 UTC, matheus wrote:
 Could you please share the URL for those who can't access this 
 site?
Very nice article: https://bradley.chatha.dev/blog/dlang-propaganda/features-of-d-that-i-love/
Thank you, and indeed very nice article. One thing "Bradley" should do is add a date to his blog posts. Matheus.
Jul 03
parent reply Bradley Chatha <sealabjaster gmail.com> writes:
On Thursday, 3 July 2025 at 13:45:10 UTC, matheus wrote:
 One thing "Bradley" should do is add a date to his blog posts.
Definitely, I'm just really lazy. The underlying markdown files have dates attached to them, I just haven't added them into the HTML output yet (e.g. https://github.com/BradleyChatha/personal-website-5000/blob/master/collections/blog/d-propaganda/what-i-love-about-d.md?plain=1#L4).
Jul 03
next sibling parent matheus <matheus gmail.com> writes:
On Thursday, 3 July 2025 at 14:06:48 UTC, Bradley Chatha wrote:
 On Thursday, 3 July 2025 at 13:45:10 UTC, matheus wrote:
 One thing "Bradley" should do is add a date to his blog posts.
Definitely, I'm just really lazy. The underlying markdown files have dates attached to them, I just haven't added them into the HTML output yet (e.g. https://github.com/BradleyChatha/personal-website-5000/blob/master/collections/blog/d-propaganda/what-i-love-about-d.md?plain=1#L4).
Great and again for what it matters, very nice article. I think this is a kind of thing that will attract more users. Matheus.
Jul 03
prev sibling parent reply Abdulhaq <alynch4048 gmail.com> writes:
On Thursday, 3 July 2025 at 14:06:48 UTC, Bradley Chatha wrote:
 On Thursday, 3 July 2025 at 13:45:10 UTC, matheus wrote:
 One thing "Bradley" should do is add a date to his blog posts.
Definitely, I'm just really lazy. The underlying markdown files have dates attached to them, I just haven't added them into the HTML output yet (e.g. https://github.com/BradleyChatha/personal-website-5000/blob/master/collections/blog/d-propaganda/what-i-love-about-d.md?plain=1#L4).
Person: please add a date to your article Programmer: Mmh, I could just type the date in. Naaah, no hard coded data, I'll write a program to do it
Jul 03
parent "H. S. Teoh" <hsteoh qfbox.info> writes:
On Thu, Jul 03, 2025 at 06:35:55PM +0000, Abdulhaq via Digitalmars-d wrote:
[...]
 Person: please add a date to your article
 
 Programmer: Mmh, I could just type the date in. Naaah, no hard coded
 data, I'll write a program to do it
lol, this totally describes me. :-D I'd rather spend 5 hours inventing a programmatic solution to a date I could've typed in myself in less than 5 seconds. My excuse is that said program will then work flawlessly and effortlessly forever, so that I never have to type in another date again (and risk the occasional typo, forgetting to type it, etc. -- computers are great for 100% reproducibility and automatic execution where humans are prone to errors and forgetfulness). As Larry Wall once said, one of the 3 virtues of a programmer is laziness: The quality that makes you go to great effort to reduce overall energy expenditure. :-P T -- Fact is stranger than fiction.
Jul 03