January 08, 2016 Re: Redesign of dlang.org | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bastiaan Veelo | On 07.01.2016 12:49, Bastiaan Veelo wrote:
> On Thursday, 7 January 2016 at 10:58:49 UTC, anonymous wrote:
>> Yeah, I also stripped some of its functionality (processing args
>> instead of stdin),
>
> I sometimes use this box to quickly test something. Although I have
> never had a use for args, I might in the future. I found it was nice to
> see that it could do that.
I didn't cut the args functionality from the code box, just from that one example.
|
January 08, 2016 Re: Redesign of dlang.org | ||||
---|---|---|---|---|
| ||||
Posted in reply to welkam | On 07.01.2016 16:36, welkam wrote:
> On Thursday, 7 January 2016 at 10:58:49 UTC, anonymous wrote:
>> However, my stance at the moment is that the intro examples should
>> just be really short. The message is that you can do something useful
>> or cool in just a couple lines of code. That means outright rejection
>> of anything longer than, say, 20 lines, or maybe even just 15.
>
> Or put longer examples behind "Learn more" button.
Totally. A page with longer, explained examples would be great. We do have some longer examples in the "Why D?" section at the bottom, so maybe a "see more examples below" link would work for now.
|
Copyright © 1999-2021 by the D Language Foundation