Way of indicating an error
Damien Cassou
damien.cassou at gmail.com
Mon Feb 26 15:55:55 UTC 2007
Hi,
if a method should compute and return a value. If this method detects
an error in its process what is the best way to indicate it:
- returning nil instead of the computed value
- raise a specific error
Bye
--
Damien Cassou
More information about the Squeak-dev
mailing list
|