| Author | Topic |
Posts: 170
Registered: December 2006
|
|
Re: Possible change to libSBML API
|
10 Oct '08 11:58
|
 |
|
Hello All,
I agree with Frank's point below. If we want to use the return to
indicate the type of error we should use negative numbers. Positive
numbers as return values are normally not an error but carry other
useful information.
Thanks,
Stefan
On Fri, 10 Oct 2008 10:26:44 -0700
"Frank Bergmann" <fbergman@u.washington.edu> wrote:
> I was wondering is there any particular reason to choose unsigned
> ints? (Apart from 'there is a lot more of them'). My reasoning is
> that in most projects I find negative numbers used for bad things,
> thus maintaining the possibility to re-use positive numbers for
> something useful (like an insert function returning the index of
> where to find the object after insertion).
>
--
Stefan Hoops, Ph.D.
Senior Project Associate
Virginia Bioinformatics Institute - 0477
Virginia Tech
Bioinformatics Facility I
Blacksburg, Va 24061, USA
Phone: (540) 231-1799
Fax: (540) 231-2606
Email: shoops@vbi.vt.edu
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu
|
|
|