Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.018 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'argument': 0.05; 'class,': 0.07; '22,': 0.09; 'input,': 0.09; 'subject:skip:t 10': 0.09; 'wrapper': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'input': 0.22; 'aug': 0.22; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'but': 0.35; 'received:google.com': 0.35; 'subject:data': 0.36; 'too': 0.37; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'kind': 0.63; 'subject:. ': 0.67; 'heavy': 0.81; 'subject:inviting': 0.84; '2013': 0.98 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=Jeu9TFIcLE+O6jdKF7pscF5bWYDwoPWLogU/4jKPg/c=; b=uTXoOnIq3/e9XQoxZ2khBBwTgl5NbBbt383hdiIlf75hqEOvlHR92ID93G/FamFl2T uwFXtnapUewm7wmb62SZmuA/MLDzGbT9KncN4MQ7VJerUisNIWMarKBrlnwWqyJRFvkb 1xhowYHSNP+hE/R7apP7GOyjRBDmYYmERLOfonWbWszh2KdFC/0vnJoznNBA3iD7QsAY vHX0LUZGcdzoz4xpSo1b8mSL/gVSsxci9ApPCiD+AInO6RqdqVr9y/2+pLnExCUIkPHx saVERcfUHFyxsPgiSpDryI+F42bKLi7u2EC+XJBzp8bTqT3RLntwjJmLOXMtektyyg53 Aotg== MIME-Version: 1.0 X-Received: by 10.220.173.134 with SMTP id p6mr463029vcz.36.1377112581690; Wed, 21 Aug 2013 12:16:21 -0700 (PDT) In-Reply-To: <5214EB07.6000801@bluewin.ch> References: <5214EB07.6000801@bluewin.ch> Date: Thu, 22 Aug 2013 05:16:21 +1000 Subject: Re: A data transformation framework. A presentation inviting commentary. From: Chris Angelico 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1377112589 news.xs4all.nl 15990 [2001:888:2000:d::a6]:52919 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52785 On Thu, Aug 22, 2013 at 2:29 AM, F.R. wrote: > The nucleus of the TX system is a Transformer class, a wrapper for any kind > of transformation functionality. The Transformer takes input as calling > argument and returns it transformed. Not to put too much of a damper on your concept, but it's seeming a little over-engineered. Your description of a Transformer sounds to me like simply... a function. It takes input, it returns something. Why the heavy class-based interface? ChrisA