Re: Question concerning object-oriented programming
- From: Mike <m.fee@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 11:44:06 +1300
In article <56dbfe0a-4ef7-41f8-8155-273c49cfc71f@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, spinoza1111@xxxxxxxxx says...
This doesn't necessarily provide a useful consistency as it seems to suggest that methods that do return a value are
I have the standard that "all methods, that do not return a value,
shall return bool true or false, true on success, false on failure. If
they think they always succeed or are at a current stage of
implementation stubs, they may return truth".
either always successful, or that there is always some value they can return that signifies failure. This will not be
the case if the method is a function with a domain covering the entire space of the type to be returned.
Mike
.
- Follow-Ups:
- Re: Question concerning object-oriented programming
- From: spinoza1111
- Re: Question concerning object-oriented programming
- References:
- Question concerning object-oriented programming
- From: spinoza1111
- Re: Question concerning object-oriented programming
- From: jehugaleahsa@xxxxxxxxx
- Re: Question concerning object-oriented programming
- From: spinoza1111
- Re: Question concerning object-oriented programming
- From: jehugaleahsa@xxxxxxxxx
- Re: Question concerning object-oriented programming
- From: spinoza1111
- Question concerning object-oriented programming
- Prev by Date: Re: How to find closest point(s) around a specific point in point cloud?
- Next by Date: Re: spinoza programming language and big numbers
- Previous by thread: Re: Question concerning object-oriented programming
- Next by thread: Re: Question concerning object-oriented programming
- Index(es):
Relevant Pages
|