Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c++ Subject: Re: How can I get the type in a C++17 fold function? Date: Mon, 02 Jan 2023 13:30:35 -0800 Organization: A noiseless patient Spider Lines: 41 Message-ID: <86sfgspqtg.fsf@linuxsc.com> References: <86bknnujmm.fsf@linuxsc.com> <872fac5e-9f01-4eea-9464-e4ff383e8312n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader01.eternal-september.org; posting-host="60a7a09099a9247382aee0cc66dfd4bb"; logging-data="1989910"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189EZ4Yv7ykpuuYq+41oIw+KtniTmo2Tig=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:rObw6uWl9lBIfvfoDauqYipcgco= sha1:SPQj7kULZCxK2pmE5dKJK/44qq4= Xref: csiph.com comp.lang.c++:88359 Jorgen Grahn writes: > On Fri, 2022-12-30, Alf P. Steinbach wrote: > >> On 30 Dec 2022 12:27, Michael S wrote: >> >>> On Thursday, December 29, 2022 at 9:36:17 AM UTC+2, Paavo Helde wrote: >>> >>>> And then there are these phone apps which require unknown amount >>>> of hand gestures of unknown types, in unknown place, for >>>> interaction. But the interface looks simple. >>> >>> And somehow kids manage to cope. Isn't it a little wonder? >> >> Kids try out things and are great at memorizing arbitrary stuff. >> They're necessarily also vastly more smart than adults, in the >> sense of more flexible thinking and self-adjustment, [...] Kids are better at fast thinking. Adults are better at slow thinking. Very few people are good at both. > And grumpy old programmers are more likely to > > - want to know what's really going on > - want to know the extent of the feature set behind > the interface[1] > - know that the device may be their enemy > - have a distaste for magical thinking > - etc I would say experienced programmers, whether or not they are grumpy. > [1] Personally I make an exception for Emacs. I have accepted > that there are whole subcontinents of features I haven't > mapped. I would be surprised to hear of any person who had mapped the entire emacs command set. Certainly I am not anywhere close to knowing the extent of emacs geography, and I've been a regular emacs user for more than 40 years.