Here's looking at you, kid

Gerald Jansen via Digitalmars-d digitalmars-d at
Sun Nov 15 09:16:40 PST 2015

On Friday, 13 November 2015 at 22:34:18 UTC, Andrei Alexandrescu 
> Amid increased scrutiny it's important to focus on improving 
> documentation. ...

The example code snippets on the home page are great. They 
certainly impressed me favourably back this spring when I first 
got curious about D. It would be great if there were even more 
examples. (Could the curl example fetching weather info be 

Of course it's disastrous if a newcomer has a look at an example, 
hits the "Run" button and gets back a vomit of incomprehensible 
error messages. The "Round floating point numbers" example is 
still in this camp and needs to be fixed (by someone who 
understands regular expressions better than me) [1].

Much work has been done in the past months to improve the 
infrastructure used to run the examples, but even more could be 
done. It would be great if there was an automated/continuous 
checking  mechanism to make sure all the examples run correctly. 
Maybe there could be some background functions (not displayed, 
for brevity) doing some input checking in order to handle the 
most common exceptions (eg. empty input).


More information about the Digitalmars-d mailing list