How to do logging (was Re: [squeak-dev] Files documentation)

Michael van der Gulik mikevdg at gmail.com
Thu Nov 27 20:47:59 UTC 2008


On Fri, Nov 28, 2008 at 6:44 AM, Keith Hodges <keith_hodges at yahoo.co.uk>wrote:

> Hello All,
>
> I need a villainous superpower that I haven't needed before, can anyone
> tell me how to achieve this.
>
> I have some code like this:
>
> self send a message to me.
> self nextThing.
>
> or
>
> self send a message to me.
> A := self nextThing.
>
> What naughty superpower code can I put in to #send that will jump
> execution to self nextThing directly?
>


In terms of code smells, this competes pretty well with fresh sewerage!
Surely there's a better solution at a higher level in your code?

Gulik.

-- 
http://people.squeakfoundation.org/person/mikevdg
http://gulik.pbwiki.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20081128/8d89a0a2/attachment.htm


More information about the Squeak-dev mailing list