Deutsch English Français Italiano |
<vbv4nv$b6ur$1@raubtier-asyl.eternal-september.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!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: Command line globber/tokenizer library for C? Date: Thu, 12 Sep 2024 18:26:48 +0200 Organization: A noiseless patient Spider Lines: 22 Message-ID: <vbv4nv$b6ur$1@raubtier-asyl.eternal-september.org> References: <lkbjchFebk9U1@mid.individual.net> <vbs1om$3jkch$1@raubtier-asyl.eternal-september.org> <vbsb94$1rsji$1@news.xmission.com> <vbsmlb$3o6n2$1@raubtier-asyl.eternal-september.org> <vbsu1d$3p7pp$1@dont-email.me> <vbtj88$1kpm$1@raubtier-asyl.eternal-september.org> <vbujak$733i$3@dont-email.me> <vbum9i$8h2o$1@dont-email.me> <vbur72$99cr$1@dont-email.me> <vbut32$99cr$2@dont-email.me> <vbv2d6$an70$1@dont-email.me> <vbv436$b0hv$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 12 Sep 2024 18:26:39 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="b5c2e06992f5c2dd6f467c961945a11e"; logging-data="367579"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+b3wVxhk5J9D790PzgXvh98aDSyde1Kb8=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:gy2xJa42GPfW88InSA910CRqT0g= In-Reply-To: <vbv436$b0hv$1@dont-email.me> Content-Language: de-DE Bytes: 2553 Am 12.09.2024 um 18:15 schrieb Bart: > I'm counting the number of characters needed to express the function. > Since one of BM's claims is that the C++ example was smaller than C. That was a general statement about C++ and not on my code. I'm using abstractions like iterators for the benefit of bounds-checking while debugging but the code is similar. But usually you write in C++ a fifth or less code. Look what s simple vector<T>::emplace_back() saves work over manually relocating a complex vector-like data structure in C. Or consider how convenient a map or unordered_map is over f.e. sth. like with libavl. This stupid character-counting from a simple example shows that Bart has no professional C++ experience. > The difference between the two columns is whether indentation uses hard > tabs or spaces. The C version is more deeply indentated so that makes a > difference. (Also the width of the tabs, but everything was measured > with tabs set to 4 characters.) That's as ridiculous as Barts's discussion.