For Programmers: Free Programming Magazines  


Home > Archive > Mathematica > March 2008 > Re: Saving Packages









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Saving Packages
alexxx.magni@gmail.com

2008-03-25, 5:09 am

What use? Different ones, depending on the project.
Basically my "libraries" (as I prefer to call them) contain
everything from generic utilities valid for many projects, to project-
specific function definitions, which are however too cumbersome to
reside in the main notebook. It is simply the usual breaking down of
big programs that I'm used to do since the days of plain old C
programming.

I thanks everybody who answered me, yet the curious fact is that I'm
still ignorant about WHY packages exist at all - in a parallel world
to the .nb world.
And, more to the point, what would change for the outside user if
Wolfram would provide a GetNB[] function, performing everything Get
does - but for notebooks?

wondering...


alessandro

Jerry ha scritto:

> alexxx.magni@gmail.com wrote:
>
>
> Sir, I am very curious: what would you then do with the .m
> file?
> What use does it have?


Jens-Peer Kuska

2008-03-26, 5:00 am

Hi,

the packages exist for the same reason why your
MS-Word has macros/VBasic and you can write letters,
and other short text documents with it.

The notebooks are text documents with embedded code
for teaching/talks .. and the code is typical something
that you do *once* and the packages include the code
for something that you wish to do on and on.

Regards
Jens

alexxx.magni@gmail.com wrote:
> What use? Different ones, depending on the project.
> Basically my "libraries" (as I prefer to call them) contain
> everything from generic utilities valid for many projects, to project-
> specific function definitions, which are however too cumbersome to
> reside in the main notebook. It is simply the usual breaking down of
> big programs that I'm used to do since the days of plain old C
> programming.
>
> I thanks everybody who answered me, yet the curious fact is that I'm
> still ignorant about WHY packages exist at all - in a parallel world
> to the .nb world.
> And, more to the point, what would change for the outside user if
> Wolfram would provide a GetNB[] function, performing everything Get
> does - but for notebooks?
>
> wondering...
>
>
> alessandro
>
> Jerry ha scritto:
>
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com