On Sat, Apr 25, 2020, 7:18 AM Rob Pike <robpike(a)gmail.com> wrote:
To make chaining of calls simpler. Write
f()->g()->h()->i()
the other way and you'll see why Bjarne asked for the shorthand.
Yea. The other way looks way too lispy...
Warner
-rob
On Sat, Apr 25, 2020 at 11:12 PM Noel Chiappa <jnc(a)mercury.lcs.mit.edu>
wrote:
> > From: Rob Pike
>
> > Convenient though the shorthand may be, it always bothered me as
> > inconsistent and misleading.
>
> As someone who made very extensive use of procedure pointers (most
> notably in
> upcalls, which never caught on, alas), I couldn't agree more.
>
> Two very different things are happenging, but with the shorthand notation,
> they share an identical representation. And for what? To save three
> characters?
>
> Noel
>
>