On 31/12/14 23:48, ketmar via Digitalmars-d wrote:
On Wed, 31 Dec 2014 13:52:02 +0000
"Adam D. Ruppe via Digitalmars-d" <[email protected]> wrote:
Try writing that:

void func(scope dtype d)

an it's so well hidden that not many people know about it. being a not
very careful reader myself i discovered such `scope` usage while
reading some code in another project and was a little puzzled.


I've seen discussions here on whether scope should or should not go into specific versions, but have not been able to find anything more on what it actually means.

Also, this brings me to a larger problem I have with the D documentation. I've read The D Programming Language (and even have a few entries at its errata), but when circling back to features I rely heavily on a good index, table of contents and internet searches to find precise syntax.

And here D fails me. The keywords used are often too generic for a Google search. Add to that the fact that the language's name is a single letter, and you find yourself looking for "D is". Try it. The results are unhelpful. Searching for "dlang is" is somewhat better, but not much. TDPL's table of contents and index are also quite unhelpful (and the e-book version I have, from Safari books online, is a PDF with no hyperlinks).

As a result, you are often left with no recourse but to ask someone who does know, or start leafing through the book hoping to find something.

Which is a rather long way to say "I completely concur with ketmar"

Shachar

Reply via email to