Deutsch   English   Français   Italiano  
<1021pgp$35sqk$1@raubtier-asyl.eternal-september.org>

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

Path: news.eternal-september.org!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: encapsulating directory operations
Date: Sat, 7 Jun 2025 18:31:35 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <1021pgp$35sqk$1@raubtier-asyl.eternal-september.org>
References: <100h650$23r5l$1@dont-email.me> <101ft3d$1feqh$2@dont-email.me>
 <101gq6l$1rdgj$1@raubtier-asyl.eternal-september.org>
 <101h0an$1tkqk$1@dont-email.me>
 <101jk7i$34erh$1@raubtier-asyl.eternal-september.org>
 <1nj%P.3454$mAv4.2422@fx34.iad>
 <101nc3o$5pjd$1@raubtier-asyl.eternal-september.org>
 <h6H%P.676329$McHf.348392@fx15.iad>
 <101u8sb$25g28$1@raubtier-asyl.eternal-september.org>
 <3FC0Q.931590$G6Lf.397684@fx17.iad>
 <101v7d7$2cudl$1@raubtier-asyl.eternal-september.org>
 <CvF0Q.1165311$McHf.1120306@fx15.iad>
 <101v8ce$2d5it$1@raubtier-asyl.eternal-september.org>
 <0e9619f7d873a4ec436f017bac1192c73c5283e5.camel@gmail.com>
 <1020eu8$2pifl$1@raubtier-asyl.eternal-september.org>
 <1e3f53801e22a94356b9b0aded0ed7d33e67fd06.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 07 Jun 2025 18:31:21 +0200 (CEST)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="8d765f89af69f03be944f05a81e936fc";
	logging-data="3339092"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19H5wG3ySOiJ0h5JrKs9oMk6uwsCGZC3w4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:eoYIG78TjpmKZzd8teq1/CHB73Y=
In-Reply-To: <1e3f53801e22a94356b9b0aded0ed7d33e67fd06.camel@gmail.com>
Content-Language: de-DE

Am 07.06.2025 um 13:58 schrieb wij:

> C++ is no better, probably worse. Firstly, the term 'exception' (and
> 'vector' probably) is disabled in human mind to think about exception.

I deal with exceptions every day and I've no problems with that. C++
exceptions aren't that clean like Java exceptions, but still make much
less work than C return code handling.

> C++ had been trying to HIDE error (exception) from its beginning, very wrong
> and very unsuccessful.

Exceptions are the cleanest way of error handling. In most cases you
deal with the error in a higher function and not in the leaf of the
call graph; therefore exceptions are perfect.