Deutsch   English   Français   Italiano  
<vpn21i$2igoq$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: Which code style do you prefer the most?
Date: Wed, 26 Feb 2025 13:39:12 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <vpn21i$2igoq$1@dont-email.me>
References: <vpkmq0$21php$1@dont-email.me>
 <XnsB29169B4B7798hueydlltampabayrrcom@135.181.20.170>
 <vpknua$21ti1$1@dont-email.me> <vpkr2l$22c6h$2@dont-email.me>
 <vpksh4$22p3p$2@dont-email.me> <vpl62m$250af$1@dont-email.me>
 <87frk10w51.fsf@onesoftnet.eu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 26 Feb 2025 13:39:14 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f15dbda4db70a6f9b37f9a6418442d56";
	logging-data="2704154"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18I67a8n6YgoZJija8apjWL"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:yV/+QfyYcacnCx3cI0CFJbfbQBQ=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <87frk10w51.fsf@onesoftnet.eu.org>
Bytes: 2288

On 26.02.2025 12:43, Ar Rakin wrote:
> 
> I actually prefer /* */ comments over // comments. There is no specific
> reason for this, I just tend to like it that way.

Heh! - And I prefer and use (for reasons of simplicity) the '//' form.
(Only if I want to comment out or in a larger piece of code I use the
other form.) - The good thing is that you can nest the two forms; e.g.
use of '//' for regular comments and use the other form for temporary
code activation/deactivation. - In practice I use // without thinking
whether it's supported by the "C" version I use, but it never was a
problem. BTW, I also use '//' for rather static long block comments,
but I have to admit that my editor (Vim) supports reformatting with
a few keystrokes; so others may prefer /* */ comments for that.

> And yeah, I use Emacs, you *might* say it is ancient but I love Emacs.

There's no need to vindicate that. - There's reasons why folks stay
with ("ancient") Emacs and Vi/Vim!

Janis