On Wed, 2019-05-08 at 11:56 +0000, Alex via Digitalmars-d-learn wrote:
> On Wednesday, 8 May 2019 at 11:53:34 UTC, Russel Winder wrote:
> > On Mon, 2019-05-06 at 15:53 +0000, John Colvin via 
> > Digitalmars-d-learn wrote:
> > > […]
> > > 
> > > pretty please show people it with UFCS:
> > > 
> > > recurrence!((a, n) => a[n-1] + a[n-2])(zero, one)
> > >      .dropExactly(n)
> > >      .front
> > 
> > Any particular reason for preferring this form over the 
> > original?
> 
> For example, It is more readable, as the order of execution is 
> unwinded.

I think there is an individual element to this, and what people are
used to. However I have taken John's request and changed the line he
wanted changed.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to