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


Groups > comp.lang.python > #41465

Re: [Python-ideas] Message passing syntax for objects

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dreamingforward@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.03; 'syntax': 0.03; 'subject:Python': 0.05; 'alan': 0.09; 'high- level': 0.09; 'cc:addr:python-list': 0.10; 'looked': 0.10; 'language,': 0.11; 'language': 0.14; '(like': 0.15; 'cc:name:python list': 0.16; 'language?': 0.16; 'php)': 0.16; 'reasonably': 0.16; 'skewed': 0.16; 'subject:ideas': 0.16; 'syntax,': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'basically': 0.17; 'subject:] ': 0.19; 'trying': 0.21; 'universal': 0.22; 'programming': 0.23; 'idea': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'andrew': 0.27; 'newer': 0.27; 'message-id:@mail.gmail.com': 0.27; 'there.': 0.28; 'about.': 0.29; 'arguments.': 0.29; 'convince': 0.29; 'oop': 0.29; 'objects': 0.29; "i'm": 0.29; 'that.': 0.30; 'basic': 0.30; 'function': 0.30; 'received:74.125.82': 0.33; 'languages': 0.33; 'received:google.com': 0.34; 'sequence': 0.35; 'pm,': 0.35; 'similar': 0.35; 'something': 0.35; 'except': 0.36; 'but': 0.36; 'received:74.125': 0.36; 'method': 0.36; 'anything': 0.36; 'should': 0.36; 'two': 0.37; 'rather': 0.37; 'mark': 0.38; 'object': 0.38; 'some': 0.38; 'where': 0.40; 'subject:-': 0.40; 'think': 0.40; 'telling': 0.61; 'free': 0.61; 'strange': 0.62; 'different': 0.63; 'skip:n 10': 0.63; 'other.': 0.64; 'become': 0.65; 'talking': 0.66; 'intelligent': 0.71; 'to:addr:yahoo.com': 0.80; 'friends': 0.83; '2013': 0.84; 'communicate.': 0.84; 'premise': 0.84; 'alien': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=1UVQvC70jomqOZp2jR0XmdtXmktv8FFDlnEDoUGqS4w=; b=Q/Yjh7pH3H6YGf0AMESx2HSig/MMGJ40/Ht/1UAsHQ9Ui1FuENbnwjLIA36pHDP8v4 lvEEB6QtFDWlnueJrQyEb/BydJMnJtsb8ioMqu/2DIb5YPeukcej3IzuQ6h8MZS44Ik6 fcCLdae0EyNH5l70a2bpJBFz1EpI6YY2ZZT5pfGss7+Xv53pcVok+9iBUjwJGVq21voY hNmkpR9QvLjy8Cp3rb43CbEJQemg2PaIDraDeM62X9+ZZ0VgLZQxo+NDROmAsycTVMmH EHI2XaV+mKEHxV5My9lNa+N8yGaY/NHjgCh+Xe4udB01W9zVNc4iM9DJHztTNLZwTB4B kKWA==
MIME-Version 1.0
X-Received by 10.194.119.33 with SMTP id kr1mr28015137wjb.36.1363650101810; Mon, 18 Mar 2013 16:41:41 -0700 (PDT)
In-Reply-To <1363643500.25746.YahooMailNeo@web184701.mail.ne1.yahoo.com>
References <CAMjeLr_dBCSL9VGjrW6wJjMDhLWFdxWqGWw+5MXTfo8+x9yfYw@mail.gmail.com> <5146B848.3040509@pearwood.info> <CAMjeLr9bH9nYpEeq8KjzHXmEXpuUgAjvWb3f2e7VR2sno=6Rkw@mail.gmail.com> <CAMjeLr9f1wmFTYh7ShQrzc-fo+Xa5DPG-LDULn2VnUbrBjEo-Q@mail.gmail.com> <1363643500.25746.YahooMailNeo@web184701.mail.ne1.yahoo.com>
Date Mon, 18 Mar 2013 16:41:41 -0700
Subject Re: [Python-ideas] Message passing syntax for objects
From Mark Janssen <dreamingforward@gmail.com>
To Andrew Barnert <abarnert@yahoo.com>
Content-Type text/plain; charset=ISO-8859-1
Cc Python List <python-list@python.org>, Python-Ideas <python-ideas@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3480.1363650109.2939.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363650109 news.xs4all.nl 6953 [2001:888:2000:d::a6]:33406
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41465

Show key headers only | View raw


On Mon, Mar 18, 2013 at 2:51 PM, Andrew Barnert <abarnert@yahoo.com> wrote:
> Have you even looked at a message-passing language?
>
> A Smalltalk "message" is a selector and a sequence of arguments. That's what you send around. Newer dynamic-typed message-passing OO and actor languages are basically the same as Smalltalk.

Yes, but you have to understand that Alan Kays came with strange ideas
of some future computer-human symbiosis.  So his language design and
other similar attempts (like php) is rather skewed from that premise

And also, despite name-dropping, I'm not trying to create anything
like that idea of message-passing.  I'm talking about something very
simple, a basic and universal way for objects to communicate.

>> With function or method syntax, you're telling the computer to
>> "execute something", but that is not the right concepts for OOP.  You
>> want the objects to interact with each other and in a high-level
>> language, the syntax should assist with that.
>
> And you have to tell the object _how_ to interact with each other.

This is a different paradigm that what I'm talking about.  In the OOP
of my world, Objects already embody the intelligence of how they are
going to interact with the outside world, because I put them there.

> Even with reasonably intelligent animals, you don't just tell two animals to interact, except in the rare case where you don't care whether they become friends or dinner.

You're model of computer programming is very alien to me.  So I don't
think it will be productive to try to convince you of what I'm
suggesting, but feel free to continue...

Mark

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


Thread

Re: [Python-ideas] Message passing syntax for objects Mark Janssen <dreamingforward@gmail.com> - 2013-03-18 16:41 -0700

csiph-web