Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'read.': 0.03; 'output': 0.05; 'subject:Python': 0.06; 'will,': 0.09; 'cc:addr:python- list': 0.11; 'gui': 0.12; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'stderr': 0.16; 'written)': 0.16; 'thursday,': 0.16; 'wrote:': 0.18; 'producing': 0.19; 'example': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'instance,': 0.24; 'library,': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; "i've": 0.25; 'somewhere': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'statement': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'that.': 0.31; 'too.': 0.31; 'comparison': 0.31; 'ones.': 0.31; 'produces': 0.31; 'sep': 0.31; 'text': 0.33; 'cases': 0.33; 'fri,': 0.33; 'mac': 0.33; "i'd": 0.34; 'basic': 0.35; "can't": 0.35; 'possible.': 0.35; 'editor': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'programming,': 0.36; 'server': 0.38; 'pm,': 0.38; 'bad': 0.39; 'skip:. 10': 0.39; 'how': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'most': 0.60; 'simple': 0.61; "you'll": 0.62; 'stand': 0.64; 'teach': 0.65; 'invalid': 0.68; 'firing': 0.84; 'to:none': 0.92 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:cc :content-type; bh=zWOVAvAgMNEZrjxhJ1Yo8GyAl883OWvWtsE+Ov7Mrv8=; b=Z4eEyB4ijycBX1Ajf+62nbLOkpnwntnN+J9pZaMpDOoTM9hG+m8yOGXPIe7Biutx4/ 0Ly90sQ9uBJMevH2C7b8wEMT2kRU4ucR3J2pl2lgYShN5h4H85X2zIqLpAeIUN5vg5uf MquCS52vhrjFw1rECj7tXUg3oIh6T55lX9BQtw5dDjfUgcEpCSUl1n3rDipkWe/ofy++ W5euz+s4KiHLjcbGaIsLMx5WChQSI+dTHZ2qa+SW63zBNZIVjzjejOmb/amEqsksxNOP am0ukR7CdUFG3FpR+ZMjGIRgg5JJ+lCjwFvOlPy4ECZK0/e5EGA6DjHUKRhBI3RqR+R8 vamA== MIME-Version: 1.0 X-Received: by 10.152.6.40 with SMTP id x8mr8433544lax.18.1409884244226; Thu, 04 Sep 2014 19:30:44 -0700 (PDT) In-Reply-To: <24e13972-bda0-48fb-bc70-81861ae43eff@googlegroups.com> References: <51acfec6-6b7b-4773-8d70-0360381bbed1@googlegroups.com> <4c873e02-93b1-4ad3-bc91-566a72b8e729@googlegroups.com> <99df9997-474e-4190-8179-6c1442b622a2@googlegroups.com> <54086b15$0$29977$c3e8da3$5496439d@news.astraweb.com> <24e13972-bda0-48fb-bc70-81861ae43eff@googlegroups.com> Date: Fri, 5 Sep 2014 12:30:44 +1000 Subject: Re: Python is going to be hard From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1409884245 news.xs4all.nl 2967 [2001:888:2000:d::a6]:34942 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77569 On Fri, Sep 5, 2014 at 12:24 PM, Rustom Mody wrote: > On Thursday, September 4, 2014 7:38:40 PM UTC+5:30, Chris Angelico wrote: > >> So a fairer comparison is: How many applications produce non-debug >> output on stderr or stdout? And that would be a much larger >> percentage. Even GUI programs will, in some cases - for instance, try >> firing up your favorite GUI text editor with no X server active, or >> with invalid .Xauthority. You'll get some sort of error message - on >> the console. Which means that somewhere in the GUI library, there's >> fall-back code that produces console output. That's why I say it's the >> most basic of all forms of that fundamental of programming, producing >> output that a human can read. It's the simple one that you teach >> first; everything else is built on that. > > Seeing the unix-centricity of this -- What's .Xauthority?? -- That's one particular example that's from Unix. I've seen (and written) Windows GUI programs that use consoles, too. And OS/2 ones. Can't speak for Mac OS Classic as I've never used it, but I'd be surprised if it's not possible. So I still stand by my statement that console output is a fundamental, and it's not a bad thing to teach it. ChrisA