Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41394
| 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.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'output': 0.04; 'abstraction': 0.09; 'defined.': 0.09; 'int)': 0.09; 'stderr': 0.09; 'thread,': 0.09; 'sfxlen:2': 0.10; 'language': 0.14; '"every': 0.16; '*next*': 0.16; 'operators,': 0.16; 'to:name:python list': 0.16; 'string': 0.17; 'integer': 0.17; '>>>': 0.18; 'define': 0.20; 'putting': 0.20; 'dropped': 0.22; 'noted': 0.22; 'universal': 0.22; 'to:2**1': 0.23; 'random': 0.24; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'common': 0.26; 'continuing': 0.27; '(as': 0.27; 'message-id:@mail.gmail.com': 0.27; 'to:name:python-ideas': 0.29; 'probably': 0.29; "i'm": 0.29; 'figure': 0.30; 'space,': 0.32; 'suggestion': 0.32; 'page.': 0.33; 'defining': 0.33; 'handle': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'text': 0.34; 'there': 0.35; 'add': 0.36; 'but': 0.36; 'does': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'object': 0.38; 'some': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; 'internet,': 0.61; 'more': 0.63; 'within': 0.64; 'home': 0.66; 'to:addr:python-ideas': 0.69; 'receive': 0.71; 'behaviors': 0.71; 'state.': 0.71; 'url:cnn': 0.84 |
| 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:content-type; bh=tWcK5uBL9Sxftlq4CDE1wZJBrQCdjPnNuKDpsIyoeLg=; b=FmChPxh29vJakPhCAAT/NqRPeUvVBcbjCJDPXdJm49lUneksutALP2utiTKT6jVJmZ yH/iCStBTxuTETdCJafGMepvfPwBWJDyiwPEQLq/CABjyV61HSgOOMZbcGvXSZ+ni0dt O2b7JGdO8FS+sXJxI90Zq+rWhiGlGdVy1HWBqN+nilgXe9WuJQGkfQZPU1IAD7BZYKY6 W+GJSK+fLxpeyJbmqm7xenQ/eDvACCves6uD5bf4ij/70AwqcSHoOrEjIo/yFOKYmm6D BVZv6BqQpGs7OZ0Gkgwl+kYdRC7qjqq9uHifxoes+KmfYXKvEN5aQ96hae/qE7ReA5jV svdw== |
| MIME-Version | 1.0 |
| X-Received | by 10.180.75.177 with SMTP id d17mr14205493wiw.16.1363580801867; Sun, 17 Mar 2013 21:26:41 -0700 (PDT) |
| In-Reply-To | <CAMjeLr_dBCSL9VGjrW6wJjMDhLWFdxWqGWw+5MXTfo8+x9yfYw@mail.gmail.com> |
| References | <CAMjeLr_dBCSL9VGjrW6wJjMDhLWFdxWqGWw+5MXTfo8+x9yfYw@mail.gmail.com> |
| Date | Sun, 17 Mar 2013 21:26:41 -0700 |
| Subject | Re: Message passing syntax for objects |
| From | Mark Janssen <dreamingforward@gmail.com> |
| To | Python List <python-list@python.org>, Python-Ideas <python-ideas@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.3409.1363580809.2939.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1363580809 news.xs4all.nl 6878 [2001:888:2000:d::a6]:56841 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:41394 |
Show key headers only | View raw
Continuing on this thread, there would be a new bunch of behaviors to be defined. Since "everything is an object", there can now be a standard way to define the *next* common abstraction of "every object interacts with other objects". And going with my suggestion of defining >> and << operators, I'm going to explore the concept further.... >>> 42 >> MyNumberType #would add the integer to your integer type >>> 42 >> MyCollectionType #would add the object into your collection: *poof*: no more random syntaxiis for putting things in collections.\ >>> MyObject >> # queries the object to output its state. >>> "http://www.cnn.com" >> MyInternetObject #outputs the HTML text from CNN's home page. Each object has to figure out how it will receive things from outside of it. Things it can't handle (a string sent to an int) just have to be dropped to some other space, much like stderr does within the O.S. There are probably many other very interesting examples, but the key idea I'm working on (as noted in other messages), is a sort-of universal language for the internet, a WebOS to be applied to a universal data model. Mark
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Message passing syntax for objects Mark Janssen <dreamingforward@gmail.com> - 2013-03-17 21:26 -0700
csiph-web