[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: Fatal warnings in client code
From: René_J.V. Bertin <rjvbertin () gmail ! com>
Date: 2023-03-06 21:52:32
Message-ID: 2716088.KKzLvWMLl8 () bola
[Download RAW message or body]
On Tuesday March 07 2023 09:54:32 Lawrence D'Oliveiro wrote:
> On Mon, 06 Mar 2023 21:35:13 +0100, René J.V. Bertin wrote:
>
> > always also return an error that allows the calling code to handle
> > the situation gracefully (and correct the bug).
>
> By definition, if the client code is not using the library correctly,
> it's not in a position to "correct the bug". In this situation, it
My bad, "(and allows its developers to correct the bug)". Or at least avoid it.
As implied, I'm not getting into a debate, but let me just add that I wouldn't use an \
OS in which a central library calls abort every time one of its functions gets called \
with an invalid argument.
R.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic