Re: Cello Shots (cont'd)
From: a (abc_at_def.gh)
Date: 02/20/04
- Next message: edo: "RE: Avoiding eval"
- Previous message: Kenny Tilton: "Re: Cello Shots (cont'd)"
- In reply to: André Thieme: "Re: Cello Shots (cont'd)"
- Next in thread: Christophe Rhodes: "Re: Cello Shots (cont'd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 Feb 2004 03:28:57 GMT
I can't speak for Kenny's code but that's certainly the way it works for my
code. Under Win32 it is worthwhile in new or exploratory code to keep window
handles (HWND's) and so forth in special variables or arrays, hashes,
structures, CLOS class instances, symbol properties or whatever so long as
they are accessible via symbols from the REPL. I create the window from the
REPL and have all the HWND's accessible. I can call send-message,
create-window, move-window, show-window or any other Win32 API and have
access to all the parameters I need. There is a good feeling of power to
have that line-at-a-time, interactive programming style accessible from the
REPL and to watch the windows system respond with every API call.
Once the code is working, I rewrite as appropriate to use fewer special
variables except where they are needed or handy.
"André Thieme" <this.address.is.good.until.2004.apr.17@justmail.de> wrote in
message news:c13pre$n8v$1@ulric.tng.de...
> Kenny Tilton wrote:
>
> > Now as soon as I port a textedit widget I can make it into a repl. :)
>
> I think I begin to realize what "The whole language always available"
> means (http://www.paulgraham.com/diff.html).
> So Kenny, if you would have a textedit widget and include a repl, could
> you then change the application (creating a second text-field somewhere
> in the window) while it is running?
>
>
> Regards,
> André
> --
> "If Java is your hammer, every problem looks like a thumb"
- Next message: edo: "RE: Avoiding eval"
- Previous message: Kenny Tilton: "Re: Cello Shots (cont'd)"
- In reply to: André Thieme: "Re: Cello Shots (cont'd)"
- Next in thread: Christophe Rhodes: "Re: Cello Shots (cont'd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|