The code in "WS.ijs" - the name of which comes from the APL "WorkSpace" -
could easily be enhanced to save all code as well as all variables.  See
http://www.jsoftware.com/jwiki/Scripts/File_J_Variables for an explanation
of this code.  I haven't added this feature because it hardly seems
necessary
as I'm loading my functions from scripts which is also where I change them.

Also, I agree with Randy about the accumulated junk problem.  In fact, if
you
were to add the trivial functions to save code as well as data, you would
introduce
problems of duplicated and nearly-duplicated code.  As it is, I still tend
to accumulate
junk in my scripts as I work through a problem but at least I'm not also
trying to figure
out which version of a function is the current one.


On 1/25/07, ramacd <[EMAIL PROTECTED]> wrote:

> This brings up another point for me.  I imagine people who actual use
> J have devised an environment for themselves but I have nothing
> equivalent to the simple concept of saving an APL workspace.

Not that I agree with this reasoning, but I've figured that having no
workspace prevented the occurence of what I'll call the "dumpster"
workspace, where a )SAVE puts all the detritus that you happen to have
into
what turns out to be a permanent form. Over the years, I've gotten used to
having a single workspace, with functions on file, loaded as needed. Thus,
the require verb made perfect sense. In some sense, the workspace idea
encourages lax discipline.

------------------------------------------------------------------------
|\/| Randy A MacDonald   | APL: If you can say it, it's done.. (ram)
|/\| [EMAIL PROTECTED]  |
|\ |                     | The only real problem with APL is that
BSc(Math) UNBF'83        | it is "still ahead of its time."
Sapere Aude              |     - Morten Kromberg
Natural Born APL'er      | Demo website: http://156.34.94.188/
-----------------------------------------------------(INTP)----{ gnat }-

From: "dly" <[EMAIL PROTECTED]>
Donna
[EMAIL PROTECTED]





----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




--
Devon McCormick
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to