April 19, 2007 Re: Phobos vs Tango! What's your opinion? | ||||
---|---|---|---|---|
| ||||
Posted in reply to %u | %u wrote:
> == Quote from Sean Kelly (sean@f4.ca)'s article
>
>> However, different
>> people have different needs in this area. Some may
>> want such functions to throw an exception on error,
>> others may want a return code, etc.
>
> Out of interest, have you seen Andrei's "The Power of None" paper? Quite a cute
> approach to this problem, and IIRC it should be doable in D.
A bit difficult without copy semantics, but probably doable. It's an interesting idea.
Sean
|
Copyright © 1999-2021 by the D Language Foundation