[erlang-questions] Any wisdom to offer on "tagged return values"
Mon May 4 19:08:55 CEST 2009
"David Mercer" <> writes:
> mats cronqvist wrote:
>> ... It is
>> a rare function that can return several valid answers. So, the
>> default should be to return a valid answer, i.e. one that can be
>> used directly, or throw an error.
> That's my default approach, too. Are there any arguments against this?
Richard O'Keefe had a whole bunch in a thread a year or so ago. IIRC,
it all boiled down to how rare the "rare functions" are.
More information about the erlang-questions