Path: csiph.com!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Larry Martell Newsgroups: comp.lang.python Subject: Re: You gotta love a 2-line python solution Date: Mon, 2 May 2016 11:24:40 -0400 Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de erJD5hkIXcM0Am3/R5t2KgwBoMCQg6A9tHjPUP7/Azdg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'bug.': 0.07; 'simplified': 0.09; 'subject:python': 0.14; '11:15': 0.16; '2016': 0.16; 'dfs': 0.16; 'non-trivial': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'to:name:python-list@python.org': 0.20; 'am,': 0.23; 'code.': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'least': 0.27; 'message-id:@mail.gmail.com': 0.27; 'reduced': 0.29; 'code': 0.30; 'non': 0.32; 'received:google.com': 0.35; 'could': 0.35; 'replace': 0.35; 'something': 0.35; 'received:209.85': 0.36; 'heard': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'ago.': 0.61; 'course.': 0.67; 'therefore': 0.67; 'extreme,': 0.84; 'reminds': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=nXTi/rLXZi5FSU3P8e2I+r5Ozf3kwfqw7MvOibNIlMs=; b=MQ2/Qu5xAv5JeBykt5bb9wR16+sGTjeWiS69H6KyDIga7CBCcNZ449idm97WSzDYYH FZX6EABuBrGbUMCF0X6eY/hgfZInlMpfHq4Neo+uBoTVorTSq27j7mKPDjMIbKV4NYp9 xz0TQU1J1KKoIg6C+yaKk/oiChSxqDz/74GYH+vF5erkDyDoAMuW/OF7IdkB3Fo1qf+U DuMeIEm8Y0t6OmaQO5dAPRTe+9YLRq3qTchGtE0f/vKP+2MsSUDd2lG1ZtuR153/veeX AlNWAUnTT1DX9uxgn257aqneBJv6kZ3U2JBhf18oPfubUFKH+aSLIAVieS6s7O5i5ltf ZPOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nXTi/rLXZi5FSU3P8e2I+r5Ozf3kwfqw7MvOibNIlMs=; b=L20yERycnE42ElFvlN5kY5w3KyrifebYdwVJT0kPrqOEiMrSAwH0JJFczD4C5e2Yx7 Zs1UZl5tjehE3C2k9DDzYWobcmsRq5fIsysdFkICpUznWTHGky+MA5sSHw9Yx2IE/6Aq CZItAKWnY20qc7nipc4bTKf3DtCwgZYLB+6lWtWD7Z3b5mhI8M0eLeCo832G2N62tf7h lLk9sOBbW67p5e584RNEz6ItTX6RDocg0laslC52mCly/ApGPDsSNkSV70o55LzuVG9i u9QtHNdsRwrZH3UrXgicncwnJL34xgeakWyPDbIM8QSmwxe+9xUCcAb2xQZMXf4DDwc9 nxHA== X-Gm-Message-State: AOPr4FUEkK+FzaNLMDxACXjzUcB0BC3Yjw/tycxUVI9VdbIb9KDcyci3+4TpNEwW5pFzfAc6q6c1Rp0m/6TnZQ== X-Received: by 10.50.69.36 with SMTP id b4mr21517952igu.84.1462202720590; Mon, 02 May 2016 08:25:20 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:108015 On Mon, May 2, 2016 at 11:15 AM, DFS wrote: > Of course. Taken to its extreme, I could eventually replace you with one > line of code :) 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.