In our previous episode, Maciej Izak said:
> 
> full potential of class/record/type helpers is not used :), and by bad
> choice can be loses for ever. IMO The best direction for type helpers
> (which can solve all problems) is usage "with" for example:
> 
> var
>   x: TObjectA with THelper1, THelper2;
> 
> AFAIK should be possible to create new sub kind of helpers : aspects with
> new syntax and functionalities. IIRC Sven did not want to use "with" just
> for "type helpers" because it is reserved for more amazing feature like
> "aspects", but when type helper has the same root as aspect (aspect as sub
> kind of helper) then "with" can be used for both : "type helpers" and "type
> aspects"

IMHO having to change every reference/declaration kind of the defeats the
purpose of helpers a bit.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to