Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'framework.': 0.07; 'python': 0.09; 'command-line': 0.09; 'forcing': 0.09; 'subject:python': 0.11; 'ignore': 0.13; 'interfaces': 0.15; 'argument.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guide.': 0.16; 'instance:': 0.16; 'oct': 0.16; 'programmer,': 0.16; 'subject:Feedback': 0.16; 'wrote:': 0.17; 'module,': 0.17; 'bit': 0.21; 'back.': 0.22; 'pipe': 0.22; 'example': 0.23; "haven't": 0.23; 'tried': 0.25; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'developers': 0.26; 'am,': 0.27; 'convention': 0.27; 'disk': 0.27; 'functions.': 0.27; 'library.': 0.27; 'primarily': 0.27; 'message-id:@mail.gmail.com': 0.27; 'chris': 0.28; 'pile': 0.29; 'no,': 0.29; "i'm": 0.29; 'that.': 0.30; 'usually': 0.30; 'framework': 0.30; 'basic': 0.30; 'point': 0.31; 'could': 0.32; 'utility': 0.33; 'to:addr:python- list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'programmers': 0.36; 'should': 0.36; 'october': 0.37; 'does': 0.37; 'two': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:l 20': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'further': 0.61; 'side': 0.61; 'personal': 0.62; 'charset:windows-1252': 0.65; 'offer': 0.65; 'fact,': 0.69; '(your': 0.84; 'site...': 0.84; 'controller': 0.91; 'duly': 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:content-transfer-encoding; bh=PKzrZGj+OY+CNsXrfZz4jfR9FFLqUoN8aM3V0ClcEpg=; b=ZXVmQPgf/35c1hLedeeHlTXZSat5AK+iiNAa++cS3aopOUHA6ryFUuqxivVg3hShPE g938PgCnm/7ozif8I6040baWSHEDVShQuR+0xC32Y0KkVaAbVuWRifU7XpWZNSK7/njx WCNMXcDhauP+kt4BA8/Z5oWQGnQFjBaijTwWY5CL+OZnEqJKFPKzO7maFWimeLmE34xf oEujRt5tCRJAJYlRkEo9MxyoZ/kdPAf4S+d1VwiGjgfXymyHk2Vpjz/pC/MU+/JhwZ9M 3GMOpY8ewCgi2I5hmGWGbbHclUaHAvKJGH1GNt2aV5kbJdBwAh8bDhgwB2TqbSzZJf/r upeg== MIME-Version: 1.0 In-Reply-To: <5f18f5d1-1442-4a10-922c-783dc6ddf657@googlegroups.com> References: <634c9dca-e64d-40c6-b9d5-cf04a86a220a@googlegroups.com> <4c7a82ca-de0c-4b8b-a128-9ecd1b4c8b31@googlegroups.com> <5f18f5d1-1442-4a10-922c-783dc6ddf657@googlegroups.com> Date: Sun, 14 Oct 2012 05:33:40 +1100 Subject: Re: Feedback on my python framework I'm building. From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350153223 news.xs4all.nl 6865 [2001:888:2000:d::a6]:57713 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31213 On Sun, Oct 14, 2012 at 5:18 AM, wrote: > On Saturday, October 13, 2012 12:48:23 PM UTC-4, Chris Angelico wrote: >> No, I don't, because I haven't tried to use it. But allow me to give >> two examples, one on each side of the argument. >> >> The 'tee' utility is primarily for writing a pipe to disk AND to >> further pipelining, for instance: > > Could you please spent 10 minutes to read through the tutorial? A fair criticism, and I am duly chastised. Okay. Now reading through your web site... alright, I'm back. >> This is why I say it's likely not a good thing that your framework >> *forces* the separation of model/view/controller. You make it >> impossible to temporarily ignore the framework. > > Exactly. When you 'break out of the framework' you pile on technical debt= . I want to force developers to not do that. Philosophy point 2: Giotto does force users to do things the =93Giotto way=94. In other words, convention over configuration Nice theory, but this is the bit that I fundamentally disagree with. Forcing programmers to work in one particular style is usually not the job of the language/framework/library. That should be up to the programmer, or at least the local style guide. I do like your plan of having identical interfaces to the same functionality (your example of web-based and command-line is particularly appealing to my personal tastes), but the same can usually be achieved with a well-built library. In fact, all you need to do is have your model as a simple Python module, and then the view and controller call on its functions. What does your framework offer over a basic system like that? ChrisA