Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'syntax': 0.04; 'subject:Python': 0.06; 'method:': 0.09; 'received:151': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'missed': 0.12; 'emanuele': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'roy': 0.16; 'subject:Java': 0.16; "python's": 0.19; 'slightly': 0.19; 'header:User-Agent:1': 0.23; 'closely': 0.24; 'train': 0.26; 'developing': 0.27; 'header:X-Complaints-To:1': 0.27; "i'm": 0.30; 'enjoyed': 0.31; 'writes:': 0.31; 'actual': 0.34; 'subject: (': 0.35; 'method': 0.36; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'che': 0.60; 'took': 0.61; 'smith': 0.68; 'eyes': 0.78; 'quando': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lele Gaifax Subject: Re: Python was designed (was Re: Multi-threading in Python vs Java) Date: Tue, 22 Oct 2013 09:38:16 +0200 Organization: Nautilus Entertainments References: <0a9761bd-4f1c-48a9-a3c5-9424f2e99f2e@googlegroups.com> <7b1b5852-a213-4a45-bb9b-2a840c183a57@googlegroups.com> <52648c54$0$29981$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 151.62.91.145 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:ZYZqEMfbOgGrTgqnfQcu1NYIhfg= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382427510 news.xs4all.nl 15929 [2001:888:2000:d::a6]:35558 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57243 Roy Smith writes: > You missed the ever-so-special Objective C syntax: > > [object method arg1 withSomething arg2 withSomethingElse arg3] > > I'm sure I got that slightly wrong. I don't do Objective C, and my eyes > glaze over every time I have to read it. The actual syntax would be [object method: arg1 withSomething: arg2 withSomethingElse: arg3] and IMHO once you train your eyes the result is very readable, and closely resembles Python's keywords (and I took advantage of the similarity when I enjoyed developing PyObjC :) ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.