Jeff M. <massung@[EMAIL PROTECTED]
> wrote:
> s" Hello, world!" email< me@[EMAIL PROTECTED]
> send-email
> It's equally brief, just as readable, and there's just as much code
> that exists underneath it,
> ...
Yes, but... what would this code look like if you wanted to append
the string in the variable "sig" to the contents? In Python it'd
go from:
smtp.sendmail(src, dests, "Hello, world!")
to:
smtp.sendmail(src, dests, "Hello, world!" + sig)
In any sort of "standard model" Forth, the would-be caller is going to
have to deal with sizing and allocating a new buffer, and copying the
contents into it. Then using it, and determining when the use was
finished and releasing the memory (IF you have a heap allocator,
otherwise you can think about a pessimistically sized static area,
blah blah blah....)
I've found that the limitations in your data model will push
themselves up into your attempt to abstract complexity.
Andy Valencia


|