Skip to content
#

Pharo

pharo logo

Pharo is an open source dynamic and reflective language inspired from the programming language

and integrated development environment (IDE) Smalltalk.

Pharo offers strong live programming features such as immediate object manipulation,

live update and hot recompiling. The live programming environment is at the heart of the system.

Here are 968 public repositories matching this topic...

pharo
MarcusDenker
MarcusDenker commented Jul 26, 2021

Describe the problem
We should check all methods that are just the same as a method that exists in the hierarchy already.

  • There is a rule that detect it
  • A release test is there: testNoEquivalentSuperclassMethods, it, for now, tests for the number of cases we have in the system

What needs to be done
We need to remove the methods. But: this sounds trivial, but in practice, there

jecisc
jecisc commented Jun 6, 2019

Today I was doing a lot of changes on some variables in a deep hierarchy.

Current Pharo tools allow developers to find accesses to a variable in a class but not in a hierarchy so I had to make this snippet:

origin := AbstractWidgetPresenter.
variableName := #borderColor.
(origin slots detect: [ :e | e name = variableName ]) usingMethods collect: #methodClass as: Set

Created by Pharo Project

Released April 15, 2010

Organization
pharo-project
Website
pharo.org
Wikipedia
Wikipedia