Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68326

Re: Deep vs. shallow copy?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <hobson42@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.090
X-Spam-Evidence '*H*': 0.82; '*S*': 0.00; 'assignment': 0.07; 'immutable': 0.09; 'denote': 0.16; 'epub': 0.16; 'from:addr:hobson42': 0.16; 'from:name:ian': 0.16; 'iteration': 0.16; 'looping': 0.16; 'mutable': 0.16; 'preparing': 0.16; 'received:192.168.0.12': 0.16; 'reply-to:addr:hobson42': 0.16; 'typo': 0.16; 'language': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'header:User-Agent:1': 0.23; 'switched': 0.24; 'header:In-Reply- To:1': 0.27; 'function': 0.29; 'fixed': 0.29; 'statement': 0.30; 'reader': 0.33; 'table': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'too': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'functional': 0.39; 'to:addr:python.org': 0.39; 'read': 0.60; 'expression': 0.60; 'ian': 0.60; 'world.': 0.61; 'tel:': 0.63; 'world': 0.66; 'subject:. ': 0.67; 'experience.': 0.67; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'reply- to:addr:gmail.com': 0.80; "'functional'": 0.84; 'about?': 0.84; 'ebooks': 0.84; 'kindle': 0.84; 'timeless': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=LnonwISz18J+XLPxvxViqtrAFfE/DTkYH6CPxKqPxII=; b=zLxEpNGCTsvkHsoIsA+2Pjt4Sc8rhwqLONit009vXmQdVqj7wZrkqWnj/jepXkw6Yh 5hnyWFDq9uecf2Su9JtehTAYbNw1SruwVZKFUW4XeEreLLeeagxHQw/oNCPEKIFI/WpZ IbkxPtkq/enbMLWN1l19aYk/0JDkfH8UzSigKek+QT6wrmvkMvx/NtuY7ASxtAh23UND w7q9b7DcPAemUNIOmdGU9Kxr+e5/8cHmue0OEvp+dBdS8ohfdspz5gPvbbeN83//tdmR jXbTgYhLgK7IvrSvdYtRxBEYrM0uL8a4XS7yN28P206zAMsF2yFRQV4pN5Gk92gfG+rn trcQ==
X-Received by 10.194.87.163 with SMTP id az3mr1223706wjb.63.1394710722588; Thu, 13 Mar 2014 04:38:42 -0700 (PDT)
Date Thu, 13 Mar 2014 11:38:22 +0000
From Ian <hobson42@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Deep vs. shallow copy?
References <53206e6a$0$2886$e4fe514c@news2.news.xs4all.nl> <mailman.8093.1394636439.18130.python-list@python.org> <53207d77$0$2886$e4fe514c@news2.news.xs4all.nl> <5320e8c9$0$29994$c3e8da3$5496439d@news.astraweb.com> <0852919b-e5ac-42cc-b30f-f465a144e24e@googlegroups.com>
In-Reply-To <0852919b-e5ac-42cc-b30f-f465a144e24e@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To hobson42@gmail.com
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8125.1394710730.18130.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1394710730 news.xs4all.nl 2860 [2001:888:2000:d::a6]:44957
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68326

Show key headers only | View raw


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?

Regards

Ian

-- 
Ian Hobson
29 Manorfield Close, Northampton NN3 9SL,
Tel: 01604 513875
Preparing eBooks for Kindle and ePub formats to give the best reader experience.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Deep vs. shallow copy? Alex van der Spek <zdoor@xs4all.nl> - 2014-03-12 14:25 +0000
  Re: Deep vs. shallow copy? Skip Montanaro <skip@pobox.com> - 2014-03-12 09:48 -0500
  Re: Deep vs. shallow copy? Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-03-12 10:00 -0500
    Re: Deep vs. shallow copy? Alex van der Spek <zdoor@xs4all.nl> - 2014-03-12 15:29 +0000
      Re: Deep vs. shallow copy? Wayne Brehaut <wbrehaut@mcsnet.ca> - 2014-03-12 13:06 -0600
      Re: Deep vs. shallow copy? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-12 23:07 +0000
        Re: Deep vs. shallow copy? Rustom Mody <rustompmody@gmail.com> - 2014-03-12 20:09 -0700
          Re: Deep vs. shallow copy? Ian <hobson42@gmail.com> - 2014-03-13 11:38 +0000
            Re: Deep vs. shallow copy? Rustom Mody <rustompmody@gmail.com> - 2014-03-13 08:28 -0700
              Re: Deep vs. shallow copy? random832@fastmail.us - 2014-03-13 13:25 -0400
        Re: Deep vs. shallow copy? Roy Smith <roy@panix.com> - 2014-03-13 07:44 -0400
          Re: Deep vs. shallow copy? Marko Rauhamaa <marko@pacujo.net> - 2014-03-13 14:27 +0200
            Re: Deep vs. shallow copy? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-13 23:41 +0000
              Re: Deep vs. shallow copy? Chris Angelico <rosuav@gmail.com> - 2014-03-14 10:55 +1100
                Re: Deep vs. shallow copy? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-14 01:41 +0000
              Re: Deep vs. shallow copy? Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-13 18:08 -0600
              Re: Deep vs. shallow copy? Chris Angelico <rosuav@gmail.com> - 2014-03-14 11:22 +1100
                Re: Deep vs. shallow copy? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-14 01:59 +0000
              Re: Deep vs. shallow copy? Rustom Mody <rustompmody@gmail.com> - 2014-03-13 19:57 -0700
                Re: Deep vs. shallow copy? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-14 04:43 +0000
              Re: Deep vs. shallow copy? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-14 06:17 +0000
          Re: Deep vs. shallow copy? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-13 23:31 +0000

csiph-web