Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'operator': 0.03; 'subject:: [': 0.04; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; ':-p': 0.16; 'arbitrarily': 0.16; "chris'": 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'subject:when': 0.16; 'language': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'wed,': 0.18; 'subject:] ': 0.20; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'code:': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'subject:what': 0.31; 'subject:with': 0.35; 'definition': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'programming,': 0.36; 'subject:one': 0.36; 'subject:?': 0.36; 'skip:u 10': 0.60; 'break': 0.61; 'such': 0.63; 'it!': 0.67; 'pike': 0.84; 'rubbish': 0.84; 'subject:find': 0.84; 'true!': 0.84; 'to:none': 0.92; 'subject:OFF': 0.95 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=L+Ci0l4hDI8tEPilJBbLTf56Mzpojh0YgIOgN4+FMdI=; b=N2UVTYW6Pa7Iyi7Hi80/NLAKDsxrJy2mR0K3eJ7u6FwukuwNbWrcOdwGq0mw5/BMNV 5Qzwuyz5NlVvs+cqP/iXwoNlJztYU9DgbUnHKXiIq8D6g3zybLHiXLe0bP9wDd+NFBjW wVbO1dofwze3bn6ofK3t4RI4qB9FCOQkHRj6hCdNPB688XkRTcFb/sr/KR3c3olwemHJ I6mfZw2+BMKtPXC+icq84nzLszclEPL6WUTZkxONqjUB3+0Q/l+a2AaYdwqQNqzmuO+p TTVxWSGwmL+3Fyu797IvWRjZKTOtXB40mYh0dYSyzLtN1ZavkxdRIb7SvfghvWwG3cWI GvCw== MIME-Version: 1.0 X-Received: by 10.69.8.225 with SMTP id dn1mr6177987pbd.46.1396978573147; Tue, 08 Apr 2014 10:36:13 -0700 (PDT) In-Reply-To: <534430ed$0$29993$c3e8da3$5496439d@news.astraweb.com> References: <534430ed$0$29993$c3e8da3$5496439d@news.astraweb.com> Date: Wed, 9 Apr 2014 03:36:13 +1000 Subject: Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396978581 news.xs4all.nl 2864 [2001:888:2000:d::a6]:60618 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69892 On Wed, Apr 9, 2014 at 3:25 AM, Steven D'Aprano wrote: > Now be kind! It's not that Chris' code was bad, but obviously Pike is > such a rubbish language that it's all but untranslatable... > > :-P Now that's completely not true! Translating Pike into PHP is by definition easy. Look: // Pike code: int x = (1==2) ? 3 : 4; # PHP code: $x = (1==2) ? 3 : 4; # Python code: x = 3 if 1==2 else 4 See? Python is just arbitrarily different! The ?: operator is fundamental to so much of programming, and Python has to go and break it! (*Stop* trolling you?!? But this is getting-trolled-on-the-head lessons... anyway, you started it...) ChrisA