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


Groups > comp.lang.python > #29429

Re: Decorators not worth the effort

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.020
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'needed,': 0.05; 'other,': 0.09; 'received:mail-vb0-f46.google.com': 0.09; 'sep': 0.09; 'subject:not': 0.11; 'cases': 0.15; '11:19': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'generator.': 0.16; 'sorts': 0.16; 'triangle': 0.16; 'wrote:': 0.17; 'received:209.85.212.46': 0.18; 'written': 0.20; "i'd": 0.22; 'demonstrate': 0.23; 'mention': 0.23; 'header:In-Reply- To:1': 0.25; 'url:wiki': 0.26; 'question': 0.27; 'then.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'chris': 0.28; 'url:wikipedia': 0.29; 'asked': 0.33; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'url:org': 0.36; "wasn't": 0.36; "didn't": 0.36; 'should': 0.36; 'why': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'url:en': 0.38; 'to:addr:python.org': 0.39; 'little': 0.39; 'application': 0.40; 'where': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'ever': 0.63; 'more': 0.63; 'direct': 0.69; 'neil': 0.84; 'fibonacci': 0.91; 'shoulder': 0.91
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 :content-type; bh=Ct0D1CAtpTNLqonEwdDcEUmCP5uGJddvXKmOzjgh7nY=; b=0ap8iROpPnHD8aKtKZwAok/d7xZg9fe75seC1tguj2ZVUzGKF8Hh+l8bCtFUysnCdP cnZiKB/Polubxu+YCicmI8FfVDPvB62yiSGY0FJU7YE3drTp8y8gNStqBY1q1osPMS4n 2xMZkh08enkQCbOpWO+DmbPI5Yfo5HcOIs96r9BqvU+gxa9Onft7f3V6iIEeFZtoTzs9 2YCEK7nNUTq8yoC5Uq+XndJvE5oPdo2pvkN+wI+2cbyU55tAqSbKC2C4k3Q3sbQUn7pt MMpNsIXp8QA0jIER8Od+Gw35Zu3PfO/KvXOmv6VBKIfbQMSG3gR/2Xf+U4iSw0QTH4vI rhGA==
MIME-Version 1.0
In-Reply-To <abram3Fl44sU3@mid.individual.net>
References <XnsA0CE7D6F43F18duncanbooth@127.0.0.1> <1017333532.1009581.1347628946603.JavaMail.root@sequans.com> <CAF_E5JY6c+QfYGo9N=0p7HdSa6NX8oL-Hj9gR6=7TayQeOqmoA@mail.gmail.com> <CAPTjJmoSt84L_kpKWSUPLUJ38wDVp8ukHovd1QkFYUuJAnoeRQ@mail.gmail.com> <CAF_E5JZR+2RvZXaMUAsS8nND2pcC06+om2WP+ncWfY-4Z=aPtg@mail.gmail.com> <mailman.715.1347643815.27098.python-list@python.org> <abram3Fl44sU3@mid.individual.net>
Date Tue, 18 Sep 2012 23:25:01 +1000
Subject Re: Decorators not worth the effort
From Chris Angelico <rosuav@gmail.com>
To python-list@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.871.1347974704.27098.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347974704 news.xs4all.nl 6961 [2001:888:2000:d::a6]:58180
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29429

Show key headers only | View raw


On Tue, Sep 18, 2012 at 11:19 PM, Neil Cerutti <neilc@norwich.edu> wrote:
> On 2012-09-14, Chris Angelico <rosuav@gmail.com> wrote:
>> But then again, who actually ever needs fibonacci numbers?
>
> If it should happen that your question is not facetious:
>
> http://en.wikipedia.org/wiki/Fibonacci_number#Applications

It wasn't entirely facetious. I know there are a few cases where
they're needed, but I think they're calculated far more often to
demonstrate algorithms than because you actually have use of them. :)

Though it's as well to mention these sorts of things now and then. I
remember one time writing up something or other, and my dad was
looking over my shoulder and asked me why I'd written a little
Pascal's Triangle generator. He didn't know that it had direct
application to whatever-it-was. And unfortunately I don't remember
what I was even writing at the time :)

ChrisA

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


Thread

Re: Decorators not worth the effort Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-09-14 11:28 +0200
  Re: Decorators not worth the effort Duncan Booth <duncan.booth@invalid.invalid> - 2012-09-14 11:26 +0000
    Re: Decorators not worth the effort andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-14 15:12 +0100
    Re: Decorators not worth the effort Chris Angelico <rosuav@gmail.com> - 2012-09-15 00:41 +1000
      Re: Decorators not worth the effort 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-14 09:37 -0700
      Re: Decorators not worth the effort 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-14 09:37 -0700
    Re: Decorators not worth the effort andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-14 17:15 +0100
    Re: Decorators not worth the effort Chris Angelico <rosuav@gmail.com> - 2012-09-15 03:30 +1000
      Re: Decorators not worth the effort Neil Cerutti <neilc@norwich.edu> - 2012-09-18 13:19 +0000
        Re: Decorators not worth the effort Chris Angelico <rosuav@gmail.com> - 2012-09-18 23:25 +1000
          Re: Decorators not worth the effort 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-18 08:14 -0700
          Re: Decorators not worth the effort 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-18 08:14 -0700
    RE: Decorators not worth the effort "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-14 23:14 +0000
  Re: Decorators not worth the effort Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-14 12:01 +0000
    Re: Decorators not worth the effort Tim Chase <python.list@tim.thechases.com> - 2012-09-14 08:06 -0500
      Re: Decorators not worth the effort Steve Howell <showell30@yahoo.com> - 2012-09-14 18:13 -0700
  Re: Decorators not worth the effort Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-09-14 13:49 +0200

csiph-web