Season of Docs
Walter Bright
newshound2 at digitalmars.com
Tue Mar 19 06:28:06 UTC 2019
On 3/18/2019 11:19 PM, Mike Franklin wrote:
> Revisiting this just now, I realize that if I make the parameter `scope int* p`
> instead of `scope int p` it works fine.
`scope` applied to values that do not contain any references gets ignored
because it applies to references. The compiler is behaving as designed.
> Also, some of your DIP 1000 PRs should not have been merged because they lacked
> enough documentation for anyone to do a proper review, but my concerns fell on
> deaf ears. And just any documentation is not sufficient. To this day, you're
> still fielding questions on the forum because noone knows how it's supposed to
> work; they're just speculating. Perhaps if you documented it, others might know
> how to leverage it and help you with your immediate goal of improving Phobos.
I suggest:
http://dconf.org/2017/talks/bright.html
for a tutorial on the basics.
More information about the Digitalmars-d
mailing list