Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c Subject: Re: Which code style do you prefer the most? Date: Thu, 27 Feb 2025 23:24:45 -0000 (UTC) Organization: A noiseless patient Spider Lines: 10 Message-ID: References: <87v7swzzl7.fsf@onesoftnet.eu.org> <87a5a7k0ko.fsf@onesoftnet.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 28 Feb 2025 00:24:46 +0100 (CET) Injection-Info: dont-email.me; posting-host="15a5a1eba7c56e832699653689652217"; logging-data="3494363"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Aab9YrfunsYhiutymCy1V" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:CheASOvevKj3Ng+N55xhULM3Wiw= Bytes: 1586 On Thu, 27 Feb 2025 17:27:17 +0000, bart wrote: > Problems involving \ and // commonly come up with multi-line macros. C macros are yet another example of the wrong way to do macros. The only right way to do macros is at the AST level. Think how many problems would be solved if you could do gensym in a C macro.