Deutsch   English   Français   Italiano  
<van6td$3frfe$1@raubtier-asyl.eternal-september.org>

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

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Top 10 most common hard skills listed on resumes...
Date: Wed, 28 Aug 2024 14:58:22 +0200
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <van6td$3frfe$1@raubtier-asyl.eternal-september.org>
References: <vab101$3er$1@reader1.panix.com>
 <vad7ns$1g27b$1@raubtier-asyl.eternal-september.org>
 <vad8lr$1fv5u$1@dont-email.me> <vaf7f0$k51$2@reader1.panix.com>
 <vafgb2$1to4v$2@dont-email.me>
 <vafkdk$1ut4h$2@raubtier-asyl.eternal-september.org>
 <20240825192810.0000672c@yahoo.com>
 <vafs6u$21ofd$1@raubtier-asyl.eternal-september.org>
 <20240825220016.00002793@yahoo.com> <86bk1e4y7t.fsf@linuxsc.com>
 <vajn50$2rqra$2@raubtier-asyl.eternal-september.org>
 <vajnha$2rtl3$1@dont-email.me>
 <vajns4$2rvg8$1@raubtier-asyl.eternal-september.org>
 <vajspc$2so1b$1@dont-email.me>
 <vajtdo$2ssc8$1@raubtier-asyl.eternal-september.org>
 <valodj$35rt8$7@dont-email.me>
 <vamarr$3btll$1@raubtier-asyl.eternal-september.org>
 <van0h7$3eqvr$1@dont-email.me>
 <van1sb$3f45o$1@raubtier-asyl.eternal-september.org>
 <van2ok$3f3q8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Aug 2024 14:58:21 +0200 (CEST)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="533d64590f09fbd7a1b41b803c3065f2";
	logging-data="3665390"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/LDx+krZE5CbOkVnUxSkTi1GLrQY7Yqgw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8UvLMPf5UjXirFtP/PEQM44uDcw=
In-Reply-To: <van2ok$3f3q8$1@dont-email.me>
Content-Language: de-DE
Bytes: 3207

Am 28.08.2024 um 13:47 schrieb Thiago Adams:

> C++ generates a lot of code, including constructors, destructors, and 
> virtual functions.
> While abstractions can also be achieved in C, they have to be 
> implemented manually.

In C that's five to ten times the code.

> But this is nothing we can't live with, with the befit of disallowing 
> other unwanted C++ features.

What's uneeded with the gerated code ?

> If you mean code written by other people, then this is about a big 
> "framework".

A matrix class isn't a framework. Frameworks are libraries with
callbacks.
And the code you'd write in C instead does the same, but everything
done manually.

> Many times, C++ abstraction are incomplete.

What's incomplete ?
> For instance, "smart pointers" should be called fake pointers.

Why ?

> C++ std::string does not represent "literals".

You can build a string_view from a literal. The length is determined
at compile-time. You can do most things with it you do with a std::
strng, except writing on it.

> Them we have .c_str() and  we also my have extra unnecessary conversions and allocations.

If you need a dynamic string you need a std::sting.
These fixed-size char-arrays in C are an error-prone disease.