From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 13826 invoked from network); 25 Apr 2020 19:01:38 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with UTF8ESMTPZ; 25 Apr 2020 19:01:38 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id BA38C9C8AD; Sun, 26 Apr 2020 05:01:35 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 162289C733; Sun, 26 Apr 2020 05:01:17 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=bellsouth.net header.i=@bellsouth.net header.b="Or4Ydw6O"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 65A749C733; Sun, 26 Apr 2020 05:01:15 +1000 (AEST) Received: from sonic307-5.consmr.mail.bf2.yahoo.com (sonic307-5.consmr.mail.bf2.yahoo.com [74.6.134.44]) by minnie.tuhs.org (Postfix) with ESMTPS id B5D2C9B962 for ; Sun, 26 Apr 2020 05:01:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1587841274; bh=VzTPFbnMEniRdnhl1ljxYwRWdxhXp0uLEIxMydenAOc=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=Or4Ydw6OC7WvxCPaPxiFLho1ei3y00zebLiTFsG5p6NYRgidv3QSuDLaCGwaVxtSvs1CVUbukwaYngkIQo4zlkxgzVA4N5Y+5gQFwbBUEt1vVq20ObIrgtfplE2xyVDyG6WMxOv5UycMeda4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rAAnwslNbV7BZF6xJiCbuR0XgptR_5LYe77fiAomeMovMY2L YtnL2c36roTz88UBnodOnQ.wwsLnhrivY4uUW9hEZhJ6rKAO0yWEvR1lw8AUQfX9RJXvk5okmC0u zscc8ZJ66hSVn8nmNV25xbTi01EDD4atiEPapTPV0n_oQ1A5.XyB_wEJkM8LLvSzd35JLD.JwKfW 6iem1_FyzGwwLJHDvn703V9PiMPrFC30qnD.MzVZfEc6gdNLk.mbgdhP133lq5FcfRL4zbHu.zWV 7_jTQd_vWKY.yD1DOyDDPjvqMMqNGvYpLbkqMqM3VNbsL8xKVXyQnP1mv7i4gd9aO0gX.KVoVwIt o4j8bJdu0x.8ibKewo45fALsbhW7vKhhPELG4mSiIvOFcBXpxEWuqbd9ZVSM2oThP_vCtCBvk0.Q v3LbTXpgQn37AQK8i7rD.uAWuA5wd3TknrolG38QItjUC7QSdyK.XyeyP9roo7ZWqzpkEIb0s Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Sat, 25 Apr 2020 19:01:14 +0000 Date: Sat, 25 Apr 2020 19:01:10 +0000 (UTC) From: "Brian L. Stuart" To: tuhs@minnie.tuhs.org, Hellwig Geisse Message-ID: <2050076633.160857.1587841270567@mail.yahoo.com> In-Reply-To: <1587821712.2206.338.camel@mni.thm.de> References: <20200425131112.6E54F18C0B6@mercury.lcs.mit.edu> <1587821712.2206.338.camel@mni.thm.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_160856_583459627.1587841270566" X-Mailer: WebService/1.1.15756 YMailNodin Mozilla/5.0 (X11; FreeBSD amd64; rv:75.0) Gecko/20100101 Firefox/75.0 Subject: Re: [TUHS] v7 K&R C X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" ------=_Part_160856_583459627.1587841270566 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Saturday, April 25, 2020, 09:52:45 AM EDT, Hellwig Geisse wrote: > On Sa, 2020-04-25 at 09:11 -0400, Noel Chiappa wrote: > > Two very different things are happenging, but with the shorthand notation, > > they share an identical representation. And for what? To save three characters? > > The subject can be looked at from another angle. Consider > the call f(42). This might be read as first naming f (and > thus constructing a pointer to f) and then calling the > function which the pointer is pointing to. This is the way that I've taken to looking at it for the last 10 years or so. In fact, I see it as the same thing as an array. Specifically, I've taken to thinking of [] as a postfix indexing operator and () as a postfix calling operator, and the thing on the left is a pointer in both cases. BLS ------=_Part_160856_583459627.1587841270566 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On Saturday, April 25, 2020, 09:52:45 AM EDT, Hellwig Geisse <hellwig.geisse@mni.thm.de> wrote:
> On Sa, 2020-04-25 at 09:11 -0400, Noel Chiappa wrote:
> > Two very different things are happenging, but with the shorthand notation,
> > they share an identical representation. And for what? To save three characters?
>
> The subject can be looked at from another angle. Consider
> the call f(42). This might be read as first naming f (and
> thus constructing a pointer to f) and then calling the
> function which the pointer is pointing to.

This is the way that I've taken to looking at it for the
last 10 years or so. In fact, I see it as the same thing
as an array. Specifically, I've taken to thinking of []
as a postfix indexing operator and () as a postfix
calling operator, and the thing on the left is a pointer
in both cases.

BLS
------=_Part_160856_583459627.1587841270566--