Jupiter Jones <jupiter.jones(a)mail.com> writes:
I noticed that in Pillar-Model-DamienCassou.88 there was a refactor
that introduces traits into the project...
Refactor parameter management
- Move parameter-related methods from PRLink/PRScript to PRTParametrizable
- Extract parameter-related parsin to PRParameterParser
yes, this code was duplicated in several classes.
As nice as traits are, this makes Pillar and things that depend on
like Pier, less cross platform.
Given the ideal would of maintaining as much cross-platform-abiltty
possible, would you prefer we create multiple code bases for
Pillar/Pier, or refactor this refactor in preference to making the
project available in other dialects of Smalltalk, notably GemStone?
I don't see any refactoring that would both keep the code quality and improve
cross-platformability. If you have an idea, please tell us.
If there is a desire to keep pillar cross-platform, the first task is to
create continuous integration jobs for these platforms. I already asked
people interested in keeping pillar cross-platform to create such jobs.
Nobody told me about anything in that direction yet. I don't use any
other Smalltalk than Pharo so I don't see these tasks as being of my
responsibility. If you create such a job, please add my email address to
the list of notified persons as soon as you get the job green once. I
won't make any effort keeping compatibility until such a job exists.
Regarding Pier, it looks like it has stopped evolving for years now
(some fixes are still committed regularly). I would then suggest to all
non-Pharo Pier users to use a version of Pier that does depend on a
working-for-them version of Pillar.
I seem to remember there was a rumour that GemStone will support
traits in the future, so it’s likely we’ll have the option to shift to
traits in the future.
another approach would be to automatically flatten the traits in Pharo
before loading in Gemstone: see Behavior>>#flattenDownAllTraits.
I have an old project using Pier in GemStone that I’m starting to
upgrade, so my motivation here is to know what direction the
Pillar/Pier team would prefer to take, then jump on board with
whichever direction you choose.
any contribution is welcome.
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill