Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; ';-)': 0.03; 'syntax': 0.04; 'subject:Python': 0.06; 'annotations': 0.09; 'comment,': 0.09; 'experimental': 0.09; 'shame': 0.09; 'url:blog': 0.10; 'cc:addr:python-list': 0.11; 'jan': 0.12; '24,': 0.16; 'approaches.': 0.16; 'magic': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'typing': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'compare': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'rest': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'url:05': 0.31; 'url:06': 0.31; 'received:google.com': 0.35; 'done': 0.36; 'two': 0.37; 'rather': 0.38; 'different': 0.65; 'subject:! ': 0.74; '2015': 0.84; 'url:2014': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1cfTClL+gpCWDkBfohmsOAFCUU6Yx1W4iZHUlkk3VlM=; b=fZRn0ReemOHvuIyENB4qHT6Pd5GtJR2imBhzwdNOanLcVwdfVZSk67sK5z/wnfPCfk 1I0D0iBBgjo0IbCdo/Cu6lSvVcMj6ZGSBN5FcJJEVfWrtt2I5Bn0C09PViGVeVHuukCs xwslTQ5Wl5/sQM0l+E3Ft9eFcfGfpe4zWPLT2mghfdpuBg6T8jGTtPI3W7C0i3tkJb8h 8SXz3QYuPWMsetWqqNsz3+I07lWjGNolK6Uxso/4o8YxHfDSwiqrT02KB0M3ayeNsfxx 9wobI5n0H1/CXzjjc+97QVopi+Dz3QsI9V+aF1KbqUlZ5kQTRWYACRLaP4+Hb8uEYsap xNHQ== MIME-Version: 1.0 X-Received: by 10.112.130.34 with SMTP id ob2mr11736521lbb.78.1422090290563; Sat, 24 Jan 2015 01:04:50 -0800 (PST) In-Reply-To: <54c332ec$0$12993$c3e8da3$5496439d@news.astraweb.com> References: <54c07d04$0$13012$c3e8da3$5496439d@news.astraweb.com> <1939680766443642112.878725sturla.molden-gmail.com@news.gmane.org> <54c1c5c1$0$13001$c3e8da3$5496439d@news.astraweb.com> <54c332ec$0$12993$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 24 Jan 2015 09:04:50 +0000 Subject: Re: Python is DOOMED! Again! From: Nicholas Cole To: "Steven D'Aprano" Content-Type: text/plain; charset=UTF-8 Cc: Python 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422090298 news.xs4all.nl 2933 [2001:888:2000:d::a6]:50837 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:84449 On Sat, Jan 24, 2015 at 5:51 AM, Steven D'Aprano wrote: > and Ruby has an experimental one: > > http://blog.codeclimate.com/blog/2014/05/06/gradual-type-checking-for-ruby/ Interesting. Ruby has avoided the magic comment, and the typing is done in annotations rather than in the function signatures. It's interesting to see them go a different way so that we can compare the two approaches. I rather like it. It's a shame that the rest of Ruby's syntax is inferior to python's..... ;-) N.