Hi Marcus, et al.,

Am Dienstag, den 06.05.2008, 09:09 -0700 schrieb Jeff Moore:
[...]
> I think this is really specifying implementation details in an  
> interface:

I agree.

[...]
> This looks to me like the best way to handle this in interfaces:
> 
> > interface Coord {
> >  abstract $coord;
> > }

I think this is too unspecific. At least the visibility, setter and/or
getter and type-hint (assuming we will have type hints) should be
defined. Otherwise defining properties in interfaces become useless as
it does not tell somebody more except "there is a property".

interface Something
{
     public $property {
         string public function get();
         string protected function set(string $value);
     }
}

Just my 2ยข

cu, Lars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to