[TUHS] v7 K&R C
Warner Losh
imp at bsdimp.com
Sun Apr 26 00:57:50 AEST 2020
On Sat, Apr 25, 2020, 7:18 AM Rob Pike <robpike at 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 at 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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200425/136e3521/attachment.html>
More information about the TUHS
mailing list