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


Groups > comp.lang.python > #69892

Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing?

References <ScW0v.98805$Pb.4577@fx31.am4> <534430ed$0$29993$c3e8da3$5496439d@news.astraweb.com>
Date 2014-04-09 03:36 +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 <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.9033.1396978581.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Apr 9, 2014 at 3:25 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> 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

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


Thread

Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? alister <alister.nospam.ware@ntlworld.com> - 2014-04-08 17:19 +0000
  Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-04-08 17:25 +0000
    Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Chris Angelico <rosuav@gmail.com> - 2014-04-09 03:36 +1000
  Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Chris Angelico <rosuav@gmail.com> - 2014-04-09 03:29 +1000
    Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? alex23 <wuwei23@gmail.com> - 2014-04-09 10:02 +1000
      Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-04-09 09:55 +0100
        Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? alex23 <wuwei23@gmail.com> - 2014-04-10 10:41 +1000

csiph-web