MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Programming style: postfix/prefix vs. functional

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70680] Re: Programming style: postfix/prefix vs. functional
  • From: "Will Robertson" <wspr81 at gmail.com>
  • Date: Mon, 23 Oct 2006 02:49:52 -0400 (EDT)
  • References: <eha5kn$b82$1@smc.vnet.net>

Will Robertson wrote:
> If it's simply personal preference, what do you like to use?

Thanks all, much food for thought.
It seems pretty clear that most people prefer the shorthands.
I think I'm now of the opinion that if I was beginner enough in
Mathematica, and I forgot what /@ meant after 6 months, I'd also forget
how Map[] worked; so the advantages in simplifying the code by using
the shorthand methods (both for reading and writing) outweigh any
advantage of the verbosity of the named functions.

Thanks also Dimitris for the link to Tricks.nb and other resources;
looks to be a trove of information.

All the best,
--
Will


  • Prev by Date: Inserting hyperlinks which carry over to PDF?
  • Next by Date: Re: Re: Programming style: postfix/prefix vs. functional
  • Previous by thread: RE: Re: Re: Programming style: postfix/prefix vs. functional
  • Next by thread: Re: Re: Programming style: postfix/prefix vs. functional