On Sunday 24 March 2002 17:58 pm, [EMAIL PROTECTED] wrote:
> Step back a bit - what do we gain by making it an interface ? Multiple
> inheritance ? One more class in the core, just to make the object model a
> bit more complex ?

The main reason i thought of it was that some objects which are doing task 
jobs don't subclass task, and must therefor be proxied. RecorderEntery comes 
to mind.

> As long as you expect all tasks to extend AbstractTask, there's
> no point of defining an interface. 

Good point. The main reason would be to avoid proxying, but proxying is 
neither evil nor terribly much work, so it's not a big deal.

----- stephan
Generic Universal Computer Guy
[EMAIL PROTECTED] - http://www.einsurance.de
Office: +49 (89) �552 92 862 Handy: �+49 (179) 211 97 67
Student: "Master, you must teach me the way of liberation!"
Master:  "Tell me who it is that binds you."
Student: "No one binds me!"
Master:  "Then why do you seek liberation?"

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to