Path: csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: C vs Haskell for XML parsing Date: Fri, 25 Aug 2023 19:55:38 -0700 Organization: None to speak of Lines: 31 Message-ID: <87v8d2eclx.fsf@nosuchdomain.example.com> References: <576801fa-2842-40dc-bf19-221a5b1cf660n@googlegroups.com> <1e79f8a1-b707-4074-b272-ce4327ee7bc0n@googlegroups.com> <81879984-43e7-409a-a029-1ca6677f536dn@googlegroups.com> <8eec8404-4928-4bc3-8b00-c673ea22ab60n@googlegroups.com> <639e8e6f-2729-476b-9a6e-0b3eb066b06an@googlegroups.com> <87h6onfje9.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="1a7ecb700a546ba1326d8f9e5790cb8d"; logging-data="450843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RowaLMXzkZv/Z+RisN2b2" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:KIMuZtOApwbEN4k9KIIZtERhD7A= sha1:TkbGd9bHQxj1x1EDhwzGnLoHk/k= Xref: csiph.com comp.lang.c:172797 Malcolm McLean writes: > On Friday, 25 August 2023 at 12:31:44 UTC+1, Keith Thompson wrote: >> Malcolm McLean writes: >> > On Friday, 25 August 2023 at 08:46:22 UTC+1, David Brown wrote: >> [...] >> >> The only thing /wrong/ - and pretty much everyone thinks it is wrong - >> >> would be to call it "multiplymatrixwithvector". >> >> >> > Well Caesar disagreed. >> Let's drop the lengthy discussions of ancient writing systems, shall we? >> (And David, please stop encouraging them.) >> >> > Denis Ritchie disagreed. >> >> I doubt that. Dennis Ritchie worked in environments that limited >> external identifiers to 6 characters. That's why we have "strcpy", >> not because it's easier to read. >> > However that's not the explanation for isdigit() rather than is_digit(). I should have said 6 *significant* characters, so is_digit and is_digest might be treated as the same identifier. The early limits on external identifiers forced terse names for library functions. Adding underscores for only some function names would not have been helpful. (I haven't checked whether any standard library function names in C90 have underscores, because I don't care that much.) -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */