[Pharo-project] #anyChanges still needed?

Guillermo Polito guillermopolito at gmail.com
Sat Jun 16 15:19:44 EDT 2012

I do not care to write extra stuff into the changes file.  My hd is large
enough to handle some extra kilobytes...

On Sat, Jun 16, 2012 at 9:14 PM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

> Hi guys. ChangeSet does at some point:
> anEvent itemKind = SystemChangeNotifier classKind ifTrue: [
> 		...
> 		anEvent isModified
> 			ifTrue: [anEvent anyChanges ifTrue: [self changeClass: anEvent item from: anEvent oldItem]].
> 		anEven
> So...I don't understand the #anyChanges. We received an event saying that a class was modified, but it may not have any changes? if true, why was the event sent?
> Ok...let's say that there could be several reasons that a class was modified but only some of them make sense to change set. I can imagine people wanted to avoid writing stuff to .changes that didn't actullay represente a change?
> If this is the case, then #anyChanges looks like a bad name for me.
> Now, do we still need this mesage? can there be ClassModified events without changes?
> thanks
> --
> Mariano
> http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120616/2f854206/attachment.html>

More information about the Pharo-dev mailing list