digitalmars.D - Issue 5710
Simen =?UTF-8?B?S2rDpnLDpXM=?= <simen.kjaras gmail.com> writes:
I just wanted to thank سليمان السهمي (Suleyman Sahmi) for fixing issue 5710 (cannot use delegates as parameters to non-global template). It's been the one issue that I've consistently hit my head on, and it's existed for as long as D has had templates and delegates, so when I saw there was a fix I was overjoyed. Yesterday I once again hit this snag, and thought 'hey, I'll just download nightly and see how well it actually works', and it's a transformative experience. So many designs that were previously impossible are now easy. So many hoops that I've gotten used to jump through I can now put in the dustbin of history. It's easily the biggest load off my shoulders as a D user since I started using D in 2004 or so. I ended up completely rethinking my design because of this one bugfix, and ended up with something far more intuitive and easier to both use and write. I understand there is work underway to revert this fix, and I hope a solution can be found here that means I can still use my newfound powers. -- Simen : https://issues.dlang.org/show_bug.cgi?id=5710 : https://github.com/dlang/dmd/pull/9702
"Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 5/24/19 3:55 AM, Simen Kjærås wrote:I understand there is work underway to revert this fix, and I hope a solution can be found here that means I can still use my newfound powers. : https://github.com/dlang/dmd/pull/9702The latest example of classic D-style "Let perfect be the enemy of good" philosophy. We may as well just name that saying "D Zen".