Brother Bill via Digitalmars-d-learn wrote:
I think that if someone is starting with "Programming in D", that sample
code that is exhaustive would be helpful.
I am one of those where code snippets are not an effective way to learn.
I need real working code that I can "play" with.
Turning a code snippet into a working example can be a good exercise.
Taking a piece of non-running code and making it run, helps you to
better learn the language and makes you a better debugger.
I also agree having full working examples is useful to fall back to if
one gets stuck. The w3schools.com tutorials are a good example. Code
snippets are provided when discussing features of a language, and full
working examples are available in their playground via a "Run example"
button.
Everyone learns differently.