On Mon, Sep 28, 2015 at 9:36 PM, Thierry Goubier <thierry.goub...@gmail.com>
wrote:

> Le 28/09/2015 21:09, Peter Uhnák a écrit :
>
>> What is the difference?
>>
>> —————————————————————————————————————
>> *ShouldBeImplemented*
>> *
>> *
>> I am ShouldBeImplemented, an exception signaled when some method should
>> have been implemented but was not.
>>
>
> Usually in a abstract class to signal that a concrete subclass should have
> implemented that method... defines the API all subclasses must answer to.
>

Well the abstract class uses SubclassResponsibility;
SBI is autogenerated by debugger and Class Refactoring > Realize.


> Hum, should be and not yet have different semantics.
>

Oh, so it's actually ShouldHaveBeenImplemented (past tense --- as in: "it
was supposed to be already done").

so

ShouldBeImplemented - this was supposed to be already implemented
NotYetImplemented - this will be implemented in very soon

Okay, now understand it.

Thanks :)

Peter

Reply via email to