On Monday, 25 June 2012 at 15:03:20 UTC, Andrea Fontana wrote:
Why don't you split horizontally? Left: source, Right input (not hidden!) + output.

In code there's a typo: "souce" instead of "source"

On Monday, 25 June 2012 at 14:43:34 UTC, nazriel wrote:
Hi!

I am polishing up this stuff:
http://dlang.dzfl.pl/

It would allow to run examples from http://dlang.org directly in web-browser. Something like http://dpaste.dzfl.pl, but integrated with dlang website itself.

I would like to ask you about your opinions and advises.

There are couple things I can't make my mind on.

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?

Another thing are examples itself. As you may noticed I modified some of em too give some experience in browser, for example, I've added writeln blocks in Power section. What should we do with 'em? Examples to run properly requires main functions, and loads of examples doesn't have them. Should we adjust those examples or leave them alone? Another thing are examples that doesn't return or display anything. Like assert(foo !is null); examples. Should we make them throw, add some writelns or leave them alone?

I would love to hear your opinion on those.


Best regards,
Damian 'nazriel' Ziemba

I wanted to keep as much as possible old look of dlang.org code snippets.
That's why I didn't splited it horizontally.

In code there's a typo: "souce" instead of "source"
Ach, that's only placeholder to show all kinds of output the applet gives, but still thanks for info. Will fix it

Reply via email to