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


Groups > comp.lang.python > #108017

Re: You gotta love a 2-line python solution

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Manolo Martínez <manolo@austrohungaro.com>
Newsgroups comp.lang.python
Subject Re: You gotta love a 2-line python solution
Date Mon, 2 May 2016 17:32:46 +0200
Lines 15
Message-ID <mailman.323.1462203566.32212.python-list@python.org> (permalink)
References <ng6hur$tiu$1@dont-email.me> <ng769a$lp4$1@dont-email.me> <ng7qnc$2dq$1@dont-email.me> <CACwCsY7XbwmtK292Qz2NjFA+Ymq1LsueLoFNOhqxEqFhsYWduw@mail.gmail.com> <20160502153246.GA16381@beagle.localdomain>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace news.uni-berlin.de +0s734l617WTnBNz990SJQZH0qWHq7PdVK1weQrAOmUw==
Return-Path <manolo@austrohungaro.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.024
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'resulting': 0.04; 'bug.': 0.07; 'simplified': 0.09; 'subject:python': 0.14; 'non-trivial': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'to:name:python-list@python.org': 0.20; 'code,': 0.23; 'code.': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'least': 0.27; 'guarantees': 0.29; 'larry': 0.29; 'reduced': 0.29; 'code': 0.30; 'non': 0.32; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'heard': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'ago.': 0.61; 'further': 0.62; 'therefore': 0.67; 'received:82.223': 0.84; 'reminds': 0.84
Content-Disposition inline
In-Reply-To <CACwCsY7XbwmtK292Qz2NjFA+Ymq1LsueLoFNOhqxEqFhsYWduw@mail.gmail.com>
User-Agent Mutt/1.6.0 (2016-04-01)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <20160502153246.GA16381@beagle.localdomain>
X-Mailman-Original-References <ng6hur$tiu$1@dont-email.me> <ng769a$lp4$1@dont-email.me> <ng7qnc$2dq$1@dont-email.me> <CACwCsY7XbwmtK292Qz2NjFA+Ymq1LsueLoFNOhqxEqFhsYWduw@mail.gmail.com>
Xref csiph.com comp.lang.python:108017

Show key headers only | View raw


On 05/02/16 at 11:24am, Larry Martell wrote:
> That reminds me of something I heard many years ago.
> 
> Every non-trivial program can be simplified by at least one line of code.
> Every non trivial program has at least one bug.
> 
> Therefore every non-trivial program can be reduced to one line of code
> with a bug.

Well, not really. Every non-trivial program can be reduced to one line
of code, but then the resulting program is not non-trivial (as it cannot
be further reduced), and therefore there are no guarantees that it will
have a bug.

M

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


Thread

You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-01 23:39 -0400
  Re: You gotta love a 2-line python solution Stephen Hansen <me+python@ixokai.io> - 2016-05-01 21:31 -0700
    Re: You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-02 00:51 -0400
      Re: You gotta love a 2-line python solution Stephen Hansen <me+python@ixokai.io> - 2016-05-01 22:02 -0700
        Re: You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-02 01:08 -0400
          Re: You gotta love a 2-line python solution Stephen Hansen <me+python@ixokai.io> - 2016-05-01 22:21 -0700
            Re: You gotta love a 2-line python solution Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-02 15:51 +1000
        Re: You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-02 01:23 -0400
          Re: You gotta love a 2-line python solution Stephen Hansen <me+python@ixokai.io> - 2016-05-01 22:37 -0700
            Re: You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-02 02:13 -0400
  Re: You gotta love a 2-line python solution Terry Reedy <tjreedy@udel.edu> - 2016-05-02 02:46 -0400
  Re: You gotta love a 2-line python solution BartC <bc@freeuk.com> - 2016-05-02 10:26 +0100
    Re: You gotta love a 2-line python solution Marko Rauhamaa <marko@pacujo.net> - 2016-05-02 13:12 +0300
      Re: You gotta love a 2-line python solution Steven D'Aprano <steve@pearwood.info> - 2016-05-02 22:05 +1000
    Re: You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-02 11:15 -0400
      Re: You gotta love a 2-line python solution Larry Martell <larry.martell@gmail.com> - 2016-05-02 11:24 -0400
      Re: You gotta love a 2-line python solution Manolo Martínez <manolo@austrohungaro.com> - 2016-05-02 17:32 +0200
  Re: You gotta love a 2-line python solution jfong@ms4.hinet.net - 2016-05-02 17:45 -0700
    Re: You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-02 21:12 -0400
      Re: You gotta love a 2-line python solution jfong@ms4.hinet.net - 2016-05-02 20:27 -0700
        Re: You gotta love a 2-line python solution Stephen Hansen <me+python@ixokai.io> - 2016-05-02 20:49 -0700
          Re: You gotta love a 2-line python solution jfong@ms4.hinet.net - 2016-05-02 20:57 -0700
            Re: You gotta love a 2-line python solution Stephen Hansen <me+python@ixokai.io> - 2016-05-03 09:09 -0700
        Re: You gotta love a 2-line python solution DFS <nospam@dfs.com> - 2016-05-02 23:56 -0400
          Re: You gotta love a 2-line python solution Steven D'Aprano <steve@pearwood.info> - 2016-05-04 11:20 +1000
        Re: You gotta love a 2-line python solution Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-03 08:14 -0400

csiph-web