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: Sun, 2 Mar 2025 02:42:39 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <87frk10w51.fsf@onesoftnet.eu.org> <87o6ykw7f9.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 02 Mar 2025 03:42:39 +0100 (CET) Injection-Info: dont-email.me; posting-host="4879a8900fe2dd21742e8795ad5f83f5"; logging-data="526083"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GNm+vKVJxuxsMRWsBlW6M" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:wPlF73JHrvfuqIxTqI1O8IPMaQc= Bytes: 2068 On Sat, 01 Mar 2025 17:24:58 -0800, Keith Thompson wrote: > If I wanted to annotate arguments with parameter names, I'd probably use > aligned // comments with the name at the end of the line: > > confection = prepare_carefully_according_to_detailed_recipe( > flat, // pan > clarified_butter, // line_with > something_yummy, // filling > lotsa_pastry, // cover_with > 90 * MINUTES // bake_for > ); Then they end up the wrong way round.