Re: Return value on half failure

From: Date: Sun, 22 Jan 2006 18:54:40 +0000
Subject: Re: Return value on half failure
References: 1 2 3  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2251@lists.php.net to get a copy of this message
I still vote for returning FALSE because that is what the underlying library does (unless it does differently than what you say). It's one less point of confusion for someone already familiar with GTK (forget someone who is used to PyGTK, they don't count in the instance =)). -Jeremy On 1/22/06, Christian Weiske <cweiske@cweiske.de> wrote: > > > I vote for FALSE. If it returns TRUE when it can fill in the > > variables, I think FALSE is more than appropriate when it can't / > > doesn't fill them in. > It returns an array with values if all is ok. > > -- > Regards/MfG, > Christian Weiske > > > -- --------------------------- Jeremy Johnstone http://www.jeremyjohnstone.com jsjohnst@php.net

« previous php.gtk.dev (#2251) next »