Re: Re: snippets

*To*: mathgroup at smc.vnet.net*Subject*: [mg89527] Re: [mg89498] Re: snippets*From*: Murray Eisenberg <murray at math.umass.edu>*Date*: Thu, 12 Jun 2008 02:56:35 -0400 (EDT)*Organization*: Mathematics & Statistics, Univ. of Mass./Amherst*References*: <g1o8fd$hd4$1@smc.vnet.net> <200806110716.DAA14875@smc.vnet.net>*Reply-to*: murray at math.umass.edu

That's a useful tutorial on your blog. Of course the palette shown reflects your own interests and needs. But the title "Newbie.nb" for this palette jarred when I saw the For expression on one of the buttons. In general, it's a bad idea to look right away to For in order to do iteration. I recommend that "newbies" not even be told about For until all other, more reasonable constructs -- Table, Sum, f@@expr, f/expr, Nest, etc. -- be tried first for fit to the problem. In short, when in Mathematica-land, code in the best "Mathematica-speak", not in FORTRAN-speak, C-speak, etc. bobeuland at gmail.com wrote: > Since nobody answered my question I had to do some digging myself. The > best approach I found was to make a custom palette for my snippets. > You can see how I've done it at > > http://bobueland.com/2008/06/10/how-to-create-a-palette/ > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305

**References**:**Re: snippets***From:*bobeuland@gmail.com