On 20 Sep 2015, at 16:17, Marcus Denker <marcus.denker@inria.fr> wrote:


On 19 Sep 2015, at 01:10, stepharo <stepharo@free.fr> wrote:

Marcus I have a API design question

when you offer

options: #(optionOneShot);

versus

optionOneShot

Do you do a perform of the arrays selectors?
What is the benefit of options:

I needed a mechanism for flags (stored not each in an ivar, as they normally
not active). As we have this mechanism in Opal already, I decided to use the
same pattern.
As in Opal, for all the pre-defined options we should not rely on perform: but
have explicit #optionOneShot getter/setter methods. I will add those later..


DONE:

https://pharo.fogbugz.com/f/cases/16654/test-for-optionOneShot-and-accessors-for-pre-defined-options


Marcus