RPM Community Forums

Mailing List Message of <popt-devel>

Re: Zero tolerance for errors (like malloc returning NULL)

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 14 Jun 2010 - 20:26:16 CEST
Message-id: <0469040F-7B17-432E-8F1C-A25B18C4D24F@mac.com>

On Jun 14, 2010, at 12:52 PM, R P Herrold wrote:

> On Mon, 14 Jun 2010, Jeff Johnson wrote:
> 
>> The other approach is "Punish the moron. NOW!" LART 'em w a ruler and
>> add assert's throughout the code on "can't happen" conditions.
> 
> A kinder, gentler person might say:
> 	die loudly and early when an error is detected, rather
> 	than guess after an unknown state transition
> and remove the value judgments of 'punish' and 'moron'  ;)
> 
> you know -- refusenik style
> 

Well I'm speaking largely solipsistically, and the moron == me,
when it comes to developing POPT 2.0.

I'm just tightening my straitjacket before climbing into the Torquemada.

But otherwise noted.

73 de Jeff
Received on Mon Jun 14 20:26:44 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.