Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python,': 0.02; 'explicit': 0.07; 'mess': 0.09; 'subject:test': 0.09; 'python': 0.11; 'wrote': 0.14; 'basic.': 0.16; 'consciously': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'language': 0.16; 'wrote:': 0.18; 'hey': 0.18; 'bit': 0.19; 'translated': 0.19; 'later': 0.20; 'code,': 0.22; 'header:User- Agent:1': 0.23; 'days,': 0.24; 'sort': 0.25; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; "i'm": 0.30; 'code': 0.31; 'getting': 0.31; 'releasing': 0.31; "i'd": 0.34; 'basic': 0.35; 'but': 0.35; 'done,': 0.36; 'limitations': 0.36; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'release': 0.40; 'most': 0.60; 'back': 0.62; 'offer': 0.62; 'more': 0.64; 'spot': 0.65; 'past.': 0.68; 'power': 0.76; 'stay!': 0.84; 'thing...': 0.84; 'subject::': 0.85 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sat, 25 Oct 2014 21:05:46 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: (test) ? a:b References: <54476af8$0$21651$426a74cc@news.free.fr> <7839376e-fc27-4299-ae63-4ddf17ef9a8a@googlegroups.com> <544C48B4.6020107@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414292754 news.xs4all.nl 2829 [2001:888:2000:d::a6]:48746 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79701 On 10/25/2014 07:20 PM, Chris Angelico wrote: > So don't use Python idioms in BASIC. :) Back when I used to write > BASIC code, I'd do explicit comparisons with zero for this sort of > thing... these days, I'd use Python idioms, but I'd also write Python > code :) > > I think it's indicative that the BASIC code I'm most proud of was > consciously getting around language limitations (I wrote a mess of > code in assembly language and Q-BASIC to allow my programs to use the > mouse), but the Python code I'm most proud of is using the language's > strengths. Hey I did the same thing in Turbo and then later Power BASIC. I have a soft spot for BASIC, and now with FreeBASIC releasing their 1.0 release (object-oriented capabilities and the works), I revisited a bit of my BASIC past. Translated a few programs from Turbo and Power BASIC into the more modern FreeBASIC dialect. But now that that's done, it's back to Python, where I'm going to stay! Python reminds me of the best BASIC had to offer plus a whole lot more.