Deep vs. shallow copy?

Rustom Mody rustompmody at gmail.com
Thu Mar 13 16:28:47 CET 2014


On Thursday, March 13, 2014 5:08:22 PM UTC+5:30, Ian wrote:
> On 13/03/2014 03:09, Rustom Mody wrote:
> > Call the action-world the 'imperative' world.
> > Call the value-world the 'functional' world ('declarative' would be
> > better but 'functional' is too entrenched).
> > [Following table meant to be read with fixed (courier) font]
> > |                         | Imperative | Functional          |
> > | Language entity         | Statement  | Expression          |
> > | Denote (and think with) | Action     | Value               |
> > | Abstracted into         | Procedure  | Function            |
> > | Atoms are               | Assignment | Constant/Variable   |
> > | Data Structures         | Mutable    | Immutable           |
> > | Loop primitive          | Recursion  | Iteration           |
> > | World is                | In time    | Timeless (Platonic) |
> Small typo I think in that the looping Primitives are switched about?

Heh! I was hesitating to put that line at all: For one thing its a
hackneyed truth in the non-FP community. For another, in practical
Haskell, use of frank recursion is regarded as as sign of programming
immaturity:

http://www.willamette.edu/~fruehr/haskell/evolution.html

So I guess I ended up typing it in the wrong order!



More information about the Python-list mailing list