Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed6.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'python.': 0.04; 'method,': 0.07; 'received:verizon.net': 0.07; 'terry': 0.07; '>>>>': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; '"using': 0.16; 'clear.': 0.16; 'program."': 0.16; 'reedy': 0.16; 'subject:OOP': 0.16; 'wrote:': 0.16; '>>>': 0.18; 'jan': 0.19; 'seems': 0.20; 'header:In-Reply-To:1': 0.22; 'pm,': 0.24; 'object,': 0.24; 'creating': 0.25; 'function': 0.27; 'classes': 0.28; 'attach': 0.28; 'bit': 0.28; 'class': 0.30; 'to:addr:python- list': 0.33; 'someone': 0.34; 'header:User-Agent:1': 0.34; 'realize': 0.34; 'doc': 0.34; 'header:X-Complaints-To:1': 0.35; 'post': 0.36; 'run': 0.37; 'but': 0.37; 'something': 0.37; 'think': 0.38; 'received:org': 0.38; 'some': 0.38; 'subject:: ': 0.39; 'header:Mime-Version:1': 0.39; 'why': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'our': 0.63; 'constantly': 0.64; 'william': 0.68; 'research,': 0.82; 'ours,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Functions vs OOP Date: Sat, 03 Sep 2011 21:51:37 -0400 References: <4e625508$0$29973$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1315101158 news.xs4all.nl 2538 [2001:888:2000:d::a6]:43339 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12730 On 9/3/2011 5:34 PM, William Gill wrote: > On 9/3/2011 3:15 PM, Terry Reedy wrote: >>> William Gill wrote: >>> >>>> During some recent research, and re-familiarization with Python, I came >>>> across documentation >> >> Ours, or someone else's? > > Python. > >> >> Since in Python, everything is an object, that would mean that every >> function has to be a method, which would mean creating classes just to >> have a class to attach functions to. How awful. > > Exactly why I asked, but I realize the the mistake was mine. I think > they were talking about "functional programming" not "using functions in > an OO program." It is possible that our doc was less than crystal clear. We are constantly improving it where we can see fixable faults. If you run across whatever it was and it still seems a bit muddy, post something again. -- Terry Jan Reedy