[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] [PATCH 1/2] nbd-server: remove unused CFILE_PROGERR error code



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: