logo       

Re: Spaghetti code: msg#00090

lang.smalltalk.squeak.beginners

Subject: Re: Spaghetti code

On Sun, 18 Feb 2007 02:48:46 -0800, Herbert König <herbertkoenig@xxxxxxx> wrote:

But they are easy to follow by opening explorers on them and
programming consists of going to the right dictionary typing:

self at: "I now want to handle this case" put: [ the Block of code to
handle this].

That's interesting. I wouldn't have thought of that.

Lately I put these Dictionaries into class vars and on the class side
I have some file in/ out code using reference streams. (Tried this
only with Dictionaries containing no code, but I guess it should work
with blocks too.)

Thanks for the suggestion. I'll think on it.

===Blake===


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise