Re: [Nbd] [PATCH 1/2] nbd-server: remove unused CFILE_PROGERR error code
- To: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@...1261...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] [PATCH 1/2] nbd-server: remove unused CFILE_PROGERR error code
- From: Wouter Verhelst <w@...112...>
- Date: Mon, 31 Dec 2012 09:58:53 +0100
- Message-id: <20121231085853.GB16921@...3...>
- In-reply-to: <20121230211356.GA13585@...1259...>
- References: <20121230211356.GA13585@...1259...>
On Sun, Dec 30, 2012 at 11:13:56PM +0200, Tuomas Jorma Juhani Räsänen wrote:
> Programmer errors should not be mixed with runtime errors. If there's a
> prorammer error, then there's nothing we can do about it during runtime,
> and the program should fail as early and loud as possible.
Yes, those should be assertions. Applied, thanks.
--
Copyshops should do vouchers. So that next time some bureaucracy requires you
to mail a form in triplicate, you can mail it just once, add a voucher, and
save on postage.
Reply to: