From: Clem Cole <clemc@ccc.com>
To: Larry McVoy <lm@mcvoy.com>
Cc: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] Archaic yacc C grammar
Date: Wed, 31 Oct 2018 09:49:29 -0400 [thread overview]
Message-ID: <CAC20D2NQNS0piUqRO3sEn2ObcwDTVZBD4hnrfXHcamE3UexOcA@mail.gmail.com> (raw)
In-Reply-To: <20181031005800.GA5670@mcvoy.com>
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
On Tue, Oct 30, 2018 at 9:46 PM Larry McVoy <lm@mcvoy.com> wrote:
> Instead of
>
> p->size
>
> we have
>
> p->st_size
>
> and I instantly know that p is a struct stat pointer.
>
+1
Amen Larry. I understand why people had a desire for different
namespaces, but a single namespace sure made code a lot more readable and
understandable.
I still use that trick in new code, because I think it just makes it easier
to identify what is going on when I glance at it.
Clem
ᐧ
[-- Attachment #2: Type: text/html, Size: 1830 bytes --]
next prev parent reply other threads:[~2018-10-31 15:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-28 21:34 Lars Brinkhoff
2018-10-29 3:00 ` Steve Johnson
2018-10-29 7:31 ` Lars Brinkhoff
2018-10-29 17:52 ` Steve Johnson
2018-10-29 18:37 ` Warner Losh
2018-10-30 8:16 ` Lars Brinkhoff
2018-11-03 21:50 ` Steve Johnson
2018-10-29 19:02 ` David
2018-10-30 22:01 ` Steve Johnson
2018-10-31 0:58 ` Larry McVoy
2018-10-31 13:49 ` Clem Cole [this message]
2018-11-03 22:14 ` Steve Johnson
2018-10-31 6:09 ` Lars Brinkhoff
2018-10-31 15:39 Noel Chiappa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAC20D2NQNS0piUqRO3sEn2ObcwDTVZBD4hnrfXHcamE3UexOcA@mail.gmail.com \
--to=clemc@ccc.com \
--cc=lm@mcvoy.com \
--cc=tuhs@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).