Path: csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c++
Subject: Re: Overuse of 'auto'
Date: Wed, 28 Dec 2022 20:58:50 -0800
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <86y1qqu7p1.fsf@linuxsc.com>
References: <539f793b-c112-4d35-a907-64351d1e2835n@googlegroups.com> <043c4a79-2f9b-4c37-9383-481dd6f3dbc2n@googlegroups.com> <87o7ryuo9u.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader01.eternal-september.org; posting-host="77b286a689752ca270ac0d7d8e983965"; logging-data="254579"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ZB4yeXQCmrNez3JNuRUTOHDR7qEI+5zY="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:Y/JsXIJLuUE+0Q8KXqDia0JPdb4= sha1:yJerJC+5rf/LpO+XP2ni/9y6N8I=
Xref: csiph.com comp.lang.c++:88288
Ben Bacarisse writes:
> Juha Nieminen writes:
[...]
>> I'm not sure how I could convey my experience on both reading (huge
>> amounts of) other people's code and writing my own code and then
>> reading it months/later, and noticing how much easier it becomes to
>> read when, for example, loop variables express what they are
>> indexing or counting.
>
> I suspect that part of the trouble is that people "read" code in
> different ways. From your descriptions it really seems like you
> do it differently to how I do it. If you think this might be a
> productive avenue (i.e. you don't think I am just being stubborn)
> I'd be happy to say more.
My guess is that reading code in different ways is not just part
of the trouble but the crux of the trouble. There is no question
that different people read code in different ways, also that the
same person reads code in different ways at different times,
depending on the circumstances of the reading in question. It
seems that Juha doesn't acknowledge these well-established facts.