Re: Difficulty with saving Package .m files
- To: mathgroup at smc.vnet.net
- Subject: [mg110504] Re: Difficulty with saving Package .m files
- From: telefunkenvf14 <rgorka at gmail.com>
- Date: Mon, 21 Jun 2010 04:55:08 -0400 (EDT)
- References: <hviapj$h6h$1@smc.vnet.net> <hvn03n$qbs$1@smc.vnet.net>
On Jun 21, 1:16 am, telefunkenvf14 <rgo... at gmail.com> wrote: > On Jun 19, 6:48 am, "David Park" <djmp... at comcast.net> wrote: > > > You are absolutely right! WRI is delinquent in showing how to do packages. > > In the first place, they don't seem to be certain themselves what is a > > preferred method. Nowhere do that take you through the steps that would work > > for a typical user. I didn't really learn about Code cells until I started > > using Workbench and also read some posts on MathGroup. > > > There might be one method for simple undocumented packages (basically using > > notebooks and Initialization cells) and another method for more extensive > > applications with documentation done in Workbench, where you might work with > > the package.m files and Code cells. > > > WRI should really get this down because it is very important for serious > > users who are trying to build up a body of knowledge and not just using > > Mathematica as a calculator. > > 1. I'd add that it would be super-awesome if WRI could also provide > some guidance on how to conduct 'unit-testing' properly in Mathematica. (I've > watched a recent screencast that demonstrates some tests in > Workbench---but doesn't go into detail on how/why to construct such > tests, with non-professional programmers in mind.) > > 2. A question related to the original question posed by M Kelly:http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_... > > 3. Here's a great demonstration by Mike Honeychurch (of WRI) for > building up a complicated function to grab economic data from FRED. > This enables you to follow along with a simple development process and > shows how to turn the end product into a package. Even though some of > the final details on package construction could be fleshed out a bit > more, this remains a gem in the Wolfram Library, IMO. Below is the link to Mike's FRED package. Man, I hate it when I do that. :) http://library.wolfram.com/infocenter/MathSource/7583/