dlang.org live examples
Kevin
kevincox.ca at gmail.com
Mon Jun 25 12:17:03 PDT 2012
On Mon 25 Jun 2012 12:46:27 EDT, David Gileadi wrote:
> On 6/25/12 7:43 AM, nazriel wrote:
>> First, should standard input and command line arguments be constant
>> defined in hidden html fields, or should we allow user to pick their
>> own?
>> It would allow for more freedom and experience but on other-hand it
>> would bloat too much website. Whats your opinion?
>
> My opinion is that the fields should be hidden until the code is run
> for the first time, at which point at least standard input should
> become visible for altering in subsequent runs.
That's essentially what I was getting at. Show the meaning like we do
now and then have an "Edit Me!" button that shows the full sample and
standard input/output. And if the examples are full programs it would
be nice to have automated tests so that they are up-to-date with the
compiler.
More information about the Digitalmars-d
mailing list