Hi guille

> I didn't understand if you want to replace the class pragmas with a simple 
> class method for adding metadata, or to add the pragmas in a class method.
> 
> In the first case I think I would like to have class pragmas because:
> 
> - we can have a single, well known way, or concept, to generate metadata, 
> which can allow us to:
> - build tools that can work with class and method pragmas in the same way 
> (not only frameworks, a pragma browser can be benefited by this).
> 
> If the metadata is disperse we have to know a lot of ways to do the same, or 
> each one will define it's own.  And we can't (or it should be difficult to) 
> have tools to work with that metadata uniformly.

Did you check setting?
Did you check how pragma collection is done?
Because it can help me to understand your answer.


> I don't know why this should be less cheaper than a class method.  I don't 
> think this is reaaally hard to do also... :S.  It's even simpler than the 
> method pragmas, because we don't have to change the compiler :P.
> 
> Cheers,
> Guille
> 
> On Fri, Jul 9, 2010 at 9:25 PM, <[email protected]> wrote:
> Stef,
> 
> 
> Just to have a better grasp of your reasoning: Are you suggesting we put 
> annotations in a method and just have it/them lumped in an 'Annotations' 
> protocol or are you suggesting a more radical change which will require the 
> toolset to have changes in sync to them?
> 
> 
> 
> 
> Em 08/07/2010 11:48, Stéphane Ducasse < [email protected] > escreveu:
> May be using a class method?
> But yes this would be important.
> 
> Alex if we use comment we would have to parse them and this is not good.
> 
> Stef
> 
> On Jul 8, 2010, at 3:35 PM, Torsten Bergmann wrote:
> 
> > Hi,
> >
> > while it is possible to annotate methods using Pragmas,
> > what about classes?
> >
> > Thx
> > T.
> > --
> > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [email protected]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to