[pulseaudio-discuss] [PATCH 2/6] Turn device ports into reference counted objects

Tanu Kaskinen tanuk at iki.fi
Tue Nov 8 12:56:46 PST 2011


On Tue, 2011-11-08 at 21:17 +0100, David Henningsson wrote:
> I'm not saying we should never use asserts, but I think we over-use 
> them. (And a lot of this goes back to Lennart's code as well.) Instead 
> of going the extra mile and thinking "hmm, what if this could actually 
> happen, what should we do in that case?", I suspect that sometimes we 
> just put in an assert instead, just out of laziness, and see if anyone 
> ever complains about it. True or not?

Speaking for myself, not true.

-- 
Tanu



More information about the pulseaudio-discuss mailing list