From the D Blog: Editable and Runnable Doc Examples on dlang.org
Joakim via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Mar 8 12:12:51 PST 2017
On Wednesday, 8 March 2017 at 13:24:15 UTC, Mike Parker wrote:
> Sebastian Wilzbach lays out how the new editable & runnable
> documentation examples came to be.
>
> The blog:
> https://dlang.org/blog/2017/03/08/editable-and-runnable-doc-examples-on-dlang-org/
>
> Reddit:
> https://www.reddit.com/r/programming/comments/5y7umk/editable_and_runnable_doc_examples_on_dlangorg/
Nice writeup. One issue: if I change the values in the test
arrays for the linked example, it usually doesn't compile
anymore. I noticed this when this feature was first announced,
but forgot to mention it then.
Other than that, nice work, especially with the writeln rewriting
to show the output.
More information about the Digitalmars-d-announce
mailing list