Le 3 nov. 2014 22:13, "Hilaire" a écrit :
>
> What's wrong with?
>
> myData
> ^ data ifNil: [data := self computeMe]
That I do have a lot of places like this and do not want these data
littering the code.
Aspects would solve this but we do not have that.
Also I need the mechanism to be removab
Hi,
Thanks Dave. Your detailed explanation helped me to understand what was
going in. The problem was that I don't use /bin/sh as my default shell,
so there was no process associated to it (/bin/zsh was the parent of all
shell process including launching Pharo). Now I have changed the way I
u
On Mon, Oct 27, 2014 at 10:21:18PM +0200, kilon alios wrote:
> Even though I always have been a supporter of Amber the IDE has still a
> very long way to go.
I've been meaning to build a code browser for Amber (and GST) in Pharo with
Omnibrowser using the Shampoo protocol[1], once I get some copi
What's wrong with?
myData
^ data ifNil: [data := self computeMe]
Le 03/11/2014 16:10, p...@highoctane.be a écrit :
> How can I do memoization in Pharo?
>
> I mean, a generic mechanism that will help me wrap the caching around
> the method invocations / messages.
>
> I have expensive calls th
How can I do memoization in Pharo?
I mean, a generic mechanism that will help me wrap the caching around the
method invocations / messages.
I have expensive calls that do not have to refresh their results as often
as they are called.
TIA
Phil
Yes I understand this already, but I assume you mean something that already
works with morphs which something I did not realise when I first
replied.Dont know if Roassal offers something similar for mophs, but since
none said so already I will assume it does not. In any case moving Morphic
to Athen