Deutsch   English   Français   Italiano  
<slrnvksgf0.2d0c.lars@cleo.beagle-ears.com>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lars Poulsen <lars@cleo.beagle-ears.com>
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Mon, 2 Dec 2024 23:25:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <slrnvksgf0.2d0c.lars@cleo.beagle-ears.com>
References: <vhigot$1uakf$1@dont-email.me>
 <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
 <vhl090$5ghq$1@dont-email.me>
 <w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com>
 <vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid>
 <vhp646$12c7u$1@dont-email.me>
 <pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com>
 <vhsdhp$1m6qu$2@dont-email.me>
 <X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com>
 <vhvdmo$2900d$3@dont-email.me> <vhvdqu$28p7r$7@dont-email.me>
 <vi2jpb$2upqb$1@dont-email.me> <vi4dpt$3ec0n$5@dont-email.me>
 <lqmm1cF5lsrU3@mid.individual.net> <20241202090209.0000011c@gmail.com>
 <lr6e4hFmag8U2@mid.individual.net>
Injection-Date: Tue, 03 Dec 2024 00:25:20 +0100 (CET)
Injection-Info: dont-email.me; posting-host="4d5ed9996639d92c5157d0657fda3bb9";
	logging-data="3819381"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/o9AIJnTn+q5XPBqnenNkRub08/phOZPs="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:39dVwp2GTxZblLrZWzmA/qiiAbs=
Bytes: 2308

On 2024-12-02, rbowman <bowman@montana.com> wrote:
> On Mon, 2 Dec 2024 09:02:09 -0800, John Ames wrote:
>
>> On 26 Nov 2024 19:31:56 GMT rbowman <bowman@montana.com> wrote:
>> 
>>> Early C++ was pretty awful. I understand iterators and other arcane
>>> bits have been cleaned up a lot but I have no need to use general C++.
>>> Arduino, Pico, and other microcontrollers use C/C++ but it's a limited
>>> subset of C++.
>> 
>> Ever since C99 added // comments, I have seen zero reason to bother with
>> C++.
>
> They were a real improvement. Commenting out a block that already had a 
> comment was painful. U think it was C99 that also allowed declaring a 
> variable close to where you were using it rather than a laundry list at 
> the head of a function.

Best way to comment out stuff like that is to enclose it in a pair of
	#if 0
	...
	#endif