Thanks for your nice feedback Richard, I will sketch something and see how
it goes.

About learning Spec2, for me, the best resource is to directly use the
image examples. In the main menu, you have "Help -> Spec 2 demo" and "Help
-> Spec 2 examples". And you also have the book in
https://github.com/SquareBracketAssociates

Hernán


El mar, 23 jul 2024 a las 10:30, Richard O'Keefe (<rao...@gmail.com>)
escribió:

> That's a very nice tool.   There are two tweaks I'd like to see.
> Two classes having methods with the same *name* isn't the same as two
> classes having the same *method*.
> When the two classes have a method with the same name, there are at
> least three possibilities:
>
> - The methods are the same method
>
> - The methods are different, but the name is defined in some common
> superclass, so they had better be related methods.
>
> - The methods are completely unrelated, like #next in ReadStream and
> LIFOQueue.
>
> The third case applies to every method.  Perhaps the best way
> therefore is to show
> something in the header, like
>
> (score) diff of descendants of <nearest common superclass>
> <column> <column>
>
> The first and second cases are the ones I want to tell apart so that I
> don't spend any time looking
> for differences that aren't there.
>
> What's the best way to learn how to use Spec2?
>
> On Mon, 22 Jul 2024 at 18:58, Hernán Morales Durand
> <hernan.mora...@gmail.com> wrote:
> >
> > Dear Pharo community,
> >
> > I am happy to present a new tool designed specifically for comparing
> classes in Pharo. It provides a two-sided list of methods, so you can
> quickly understand the relationships between two classes.
> >
> > The project location is on GitHub:
> >
> > https://github.com/hernanmd/class-diff
> >
> > Feel free to send comments and contributions via PRs.
> > Have a great day,
> >
> > Hernán
> >
>

Reply via email to