Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Functional programming?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92211] Re: Functional programming?
  • From: magma <maderri2 at gmail.com>
  • Date: Tue, 23 Sep 2008 07:31:47 -0400 (EDT)
  • References: <gag2ra$3f9$1@smc.vnet.net>

AES
Do you want to learn functional programming?
This is how to do it in a language you are familiar with:

DO
    READ books and source codes written by good MATHEMATICA
programmers
    DO put in practice what you've learnt by writing your own examples
and posting questions in Mathgroup
WHILE NOT spousereallyangry()


You can easily write the spousereallyangry() routine  using your
programming skills with IF-THENs statements  custom-tailored to your
spouse (world wide standards not yet available).

When starting out with functional programming, I second some of the
previous posts, with the following caveats:

1- be very careful when descending Murray's newtonsteps[] expecially
in dim light
2-  always strive for more than Average[] and make sure at the end the
day your Sum[] is positive
3- avoid being Mean[] as much as possible as this puts a burden on
system resources (memory is not easily reallocated).

Hope this helps


On Sep 13, 11:58 am, AES <sieg... at stanford.edu> wrote:
> I suggest it might be instructive if some of the functional programming
> proponents on this group could provide us DO-looping old timers with a
> brief summary or tutorial as to what is really meant by, or involved in,
> "functional programming"?
>
> --- especially as this concept might relate to building programs to do
> calculations involving multi-stage real-world engineering or technical
> problems
>
> --- and especially as it might relate to programs that are going to be
> developed in an evolutionary process and that in the end, rather than
> being built into some long-term library, are maybe only going to be run
> or executed a few times before the person involved (e.g., an engineer,
> or scientist, or other real-world individual, not a "programmer") moves
> on to some other totally different task or assignment.



  • Prev by Date: Re: Strange size changes in Manipulate with GeometricTransformation
  • Next by Date: Re: Re: the graphic of a function
  • Previous by thread: Re: Functional Programming?
  • Next by thread: How can you get the list of