2010/1/11 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Hi
I was looking at the video of laurent and what stroke me is that getting the source of class or a compiled method is not polymorphic. It would be good to support that. Â Â Â Â aClass getSource? Â Â Â Â aCompiledMethod definition?
Indeed. Btw it would be cool to have a class definition also be stamped as well as any methods do. Because at the end, they're all about same thing: making a changes into the system. And as any well-logged change, it apparently, should carry the source text and having an author and date stamp. I guess, that class could store the sourcePointer to its own change recond in class organizer, in same way as it currently storing a comment there. Actually, i think we could use the comment's source pointer to also store a class definition in a single chunk: Object subclass: #Blabal variablabla: ... poolVars: '' <empty line> "Here starts the class comment ... ... ... ... .. " << end of comment
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.