On 11-12-2018 12:10, Atila Neves wrote:
On Tuesday, 11 December 2018 at 11:08:29 UTC, user1234 wrote:
On Tuesday, 11 December 2018 at 10:45:39 UTC, Atila Neves wrote:
A few things that have annoyed me about writing D lately:
https://atilanevesoncode.wordpress.com/2018/12/11/what-d-got-wrong/
I agree about template lambdas. But is something that misses really an
error ?
It's debatable. I thought it was funny that it was an oversight given
the fact that D had lambdas to avoid the problems that C++ used to have,
then went and made the "same" mistake again.
It isn't as bad as the example in the blog post, this also works:
```
range.map!(fun).filter!(gun).join;
```
--
Mike Wey