Re: [fpc-pascal] mixin feature

2009-12-24 Thread Bee Jay
I don't think class helpers are a real language instrument. They are more a workaround for certain cases when other classes are set in stone. I know, class helper is only a work around until pascal supports real mixin feature. But, with that I'm still able to see a workaround. I think I mu

Re: [fpc-pascal] mixin feature

2009-12-24 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: > > >> I think the regular way to do this in Object Pascal is via > >> implements-style delegation (which doesn't really fake mixins; I think it > >> provides exactly the same functionality, just using a slightly different > >> concept). I don't think

Re: [fpc-pascal] mixin feature

2009-12-24 Thread Jonas Maebe
On 24 Dec 2009, at 10:41, Bee Jay wrote: >> I think the regular way to do this in Object Pascal is via implements-style >> delegation (which doesn't really fake mixins; I think it provides exactly >> the same functionality, just using a slightly different concept). I don't >> think that's alre

Re: [fpc-pascal] mixin feature

2009-12-24 Thread Bee Jay
I'm not aware of any existing AOP framework for Pascal. I don't think neither GWT or QWT is implementing AOP. CMIIW. I think the regular way to do this in Object Pascal is via implements-style delegation (which doesn't really fake mixins; I think it provides exactly the same functionality,

Re: [fpc-pascal] mixin feature

2009-12-24 Thread Jonas Maebe
On 24 Dec 2009, at 05:27, Bee Jay wrote: > I'm now studying Qooxdoo (JS framework) to make ExtPascal-like tool based on > it. Qooxdoo's OO implementation has mixin feature > (http://en.wikipedia.org/wiki/Mixin). Since this feature is not provided by > object pascal language, I have trouble wri

[fpc-pascal] mixin feature

2009-12-23 Thread Bee Jay
Hi all, I'm now studying Qooxdoo (JS framework) to make ExtPascal-like tool based on it. Qooxdoo's OO implementation has mixin feature (http://en.wikipedia.org/wiki/Mixin ). Since this feature is not provided by object pascal language, I have trouble writing the library wrapper. For the firs