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.morales@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
>