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


Groups > comp.lang.python > #66059

Re: Top down Python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <pydev@allsup.co>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'exercise': 0.04; 'say,': 0.05; 'subject:Python': 0.06; 'lines,': 0.07; 'preference': 0.07; 'stops': 0.07; 'variables': 0.07; 'if,': 0.09; 'plug': 0.09; 'received:212.227.126': 0.09; 'specific.': 0.09; 'thus,': 0.09; 'python': 0.11; 'background.': 0.14; 'already,': 0.16; 'finite': 0.16; 'finney': 0.16; 'merely': 0.16; 'ought': 0.16; 'reliably': 0.16; 'repl': 0.16; 'simplicity.': 0.16; 'through,': 0.16; "up'": 0.16; ':-)': 0.16; 'ignore': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'library': 0.18; 'users.': 0.18; 'variable': 0.18; 'trying': 0.19; 'dependent': 0.19; 'written': 0.21; 'command': 0.22; 'header:User-Agent:1': 0.23; '(such': 0.24; 'exists': 0.24; 'environment': 0.24; 'values': 0.27; 'header:In- Reply-To:1': 0.27; "i'm": 0.30; 'code': 0.31; 'lines': 0.31; 'with,': 0.31; 'writes:': 0.31; 'probably': 0.32; 'critical': 0.32; 'figure': 0.32; 'run': 0.32; 'something': 0.35; 'but': 0.35; 'really': 0.36; "i'll": 0.36; 'possible': 0.36; 'hi,': 0.36; 'wrong': 0.37; 'too': 0.37; 'operating': 0.37; 'manager': 0.38; 'ben': 0.38; 'massive': 0.38; 'window': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; 'eventually': 0.60; 'number,': 0.60; 'most': 0.60; 'areas': 0.61; 'john': 0.61; 'skip:* 10': 0.61; 'simple': 0.61; "you'll": 0.62; 'making': 0.63; 'real': 0.63; 'skip:n 10': 0.64; 'more': 0.64; 'within': 0.65; 'received:46': 0.66; 'close': 0.67; 'deeply': 0.69; 'costly': 0.84; 'discrete': 0.84; 'subject:Top': 0.84; 'simple!': 0.91; 'hand,': 0.93; 'picture': 0.97
Date Wed, 12 Feb 2014 17:06:16 +0000
From John Allsup <pydev@allsup.co>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Top down Python
References <52FB75E6.4030505@allsup.co>
In-Reply-To <52FB75E6.4030505@allsup.co>
X-Forwarded-Message-Id <52FB75E6.4030505@allsup.co>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Provags-ID V02:K0:KOEI3Dt11Nzcuzbc35QLr44rI+m5XB+NJ5aejNIAlsL oGUM91xoGlXCbEKa76Nar2/ZdYQAbYJuq/Gx+9K0DLOOuJBVvC zuw/DMNbeKYQjz65VgmfdYIUDbEU5AFg7byKc59KqEwbcWeMvZ vJzvf3rUnjvtFzvv1DYmnsFXGayNwuAJUmDVJizRYJEEL/608J HYNOb4YabOWwlUDRoO6yBI7kinJEw+S73iy1gofPFA5HXJvDXu Xx2AUpYjUtBdmIQgKHSxV3WEl5qd1qXi2NDU0zjBIwEsmlVERD O7zkSwiXjawA++bI4SyJfM9DDw5JP+w1YXFBXl0F0gCL186SLM 5BnSwaN3p2Duy19XX+2CsdKxr8BOMyqsD8dagwcU+
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6768.1392224784.18130.python-list@python.org> (permalink)
Lines 61
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392224784 news.xs4all.nl 2967 [2001:888:2000:d::a6]:43964
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66059

Show key headers only | View raw


Hi,

I'm trying to figure out where 'simpler' stops and 'too simplistic'
begins.  That's what I call 'absolute simplicity'.  It is a necessity in
some areas of learning where even a jot of inefficiency can be costly
(consider a superconducting magnet just below the critical frequency
with massive amps going through, and then it heats slightly, for a
picture of how this 'blow up' happens in the real world).

This is an exercise in trying to 'touch the wall'.  When the
possibilities are not infinite, merely an unimaginably large finite
number, eventually a discrete 'wall' must exists and, thus, ought to be
findable.

John

On 12/02/2014 08:09, Ben Finney wrote:
> John Allsup <pydev@allsup.co> writes:
>
>> What is needed for proper learning is near-absolute simplicity.
>
> I think that's too simplistic :-) but I'll take it as merely a
> preference on your part for simplicity at this time.
>
>> I want to be able to say:
>>      1. Put a nice picture on the background.
>>      2. Put a terminal window with, say, 64x20 lines, dead centre.
>
> Those are deeply dependent on exactly what operating system and desktop
> environment and window manager your computer is running.
>
> What exact values for those variables do you want
> the simple program to assume?
>
> No cross-platform standard library (such as the Python standard library)
> will be able to reliably do those things without making a huge amount of
> assumption of the operating environment, much of which will be wrong for
> a large number of users.
>
> If you can fix each of those things precisely so that you can ignore all
> other possible values, then you can probably come up with a simple
> program to do them.
>
>>      3. Run a simple REPL program written in Python or Ruby within it.
>
> Python has its own REPL, of course; you get it when you run ‘python’
> from a command line. Simple!
>
> If, on the other hand, you want a REPL that plugs into something *other
> than* Python, what do you want it to plug into? You have a Python REPL
> already, so if you want something else you'll need to be specific.
>
>> I do not really want to write any more lines of code than I need to.
>
> For what goal? Python optimises your lines of code for *communicating
> with other programmers*, which in my view is pretty close to the most
> important variable to be optimising.
>


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


Thread

Re: Top down Python John Allsup <pydev@allsup.co> - 2014-02-12 17:06 +0000

csiph-web