[Pharo-project] could we agree to remove caseOf: and caseOf:otherwise:
nicolas.cellier.aka.nice at gmail.com
Sun Feb 13 18:40:01 CET 2011
Yes, I myself find the implementation hackish, but I wish I could see
more pragmatic analysis based on exact usage of this message.
The discussion isn't going forward, every one camping on its position.
1) Where is the message used ?
2) How would you refactor the senders ?
3) Does speed degrade ?
4) Does it matter ?
For Pharo, I invite you to simply remove the compiler optimization,
and run some benchmark.
Then deprecate the message if you want (but you'll need a
compatibility layer, notably for Cog).
2011/2/13 Ricardo Moran <richi.moran at gmail.com>:
> Of course discussion is good. But turning your position into a religion and
> blaming other parties ignorance is bad. That's what the discussion seemed to
> be heading (at least to me) and I just tried to avoid that.
> Maybe I'm just too new in this community (and smalltalk in general, for that
> matter) and this is how you solve your discussions, but I just don't like
> arguments such: "I don't like it and everyone using it should die" :)
> Now that more voices have joined the thread I think we are actually getting
> somewhere :)
> On Sun, Feb 13, 2011 at 7:58 AM, Alain Plantec <alain.plantec at yahoo.com>
>> Le 13/02/2011 04:05, Ricardo Moran a écrit :
>>> Ok, guys... I'm sorry to interrupt this polite discussion, but this is
>>> taking nowhere.
>> no, it allows people to make their own opinion.
>> interesting thread.
>> Now I can say that I would be more for getting rid of case of.
More information about the Pharo-project