Why are homepage examples too complicated?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 20 12:52:32 PDT 2016


On 10/20/2016 03:48 PM, Karabuta wrote:
> On Thursday, 20 October 2016 at 14:04:06 UTC, Andrei Alexandrescu wrote:
>> On 10/20/2016 07:38 AM, Nick Treleaven wrote:
>>> On Sunday, 16 October 2016 at 16:07:19 UTC, Nick Treleaven wrote:
>>>> I think this example is a bit awkward for D newbies to decipher. I
>>>> think here we are showing D's ctRegex; dropping the functional map and
>>>> lambdas would make this more universally understood.
>>>
>>> https://github.com/dlang/dlang.org/pull/1500
>>
>> I think it would be best if we kept both. -- Andrei
>
> Test using bottom- up approach. Test on a newbie.

We ought to test on different newbies with different sensibilities. The 
PR replaces one style of doing things with another. For some the first 
style may be more pleasant than the second ("you mean I need to go back 
to for loops now?") etc. -- Andrei



More information about the Digitalmars-d mailing list