Re: python interview quuestions

2010-08-13 Thread Simon Brunning
On 11 August 2010 13:34:09 UTC+1, Steven D'Aprano wrote: > Getting interviewees to do a take-home problem just means you hire the > guy who is friends with a good programmer, rather than the good > programmer. We give a take-home problem. If we like the code we see, we invite the candidate to com

Re: python interview quuestions

2010-08-11 Thread Peter
On Aug 11, 8:50 pm, Tim Chase wrote: > On 08/11/10 01:24, Terry Reedy wrote: > > > On 8/10/2010 8:08 PM, Roy Smith wrote: > >> In any case, if the candidate were to submit somebody else's > >> work, it would come out pretty quickly as we discussed their > >> code.  I suppose one question I might a

Re: python interview quuestions

2010-08-11 Thread Paul Rubin
geremy condra writes: > I can't recall who it was, but I remember being very impressed by a > company that did a variant of this a few years ago: they put > programming problems on the sides of pay phones, taxis, etc. with a > note that said 'If you can solve this, call us'. I have zero doubt > th

Re: python interview quuestions

2010-08-11 Thread geremy condra
On Wed, Aug 11, 2010 at 6:04 AM, Roy Smith wrote: > In article <4c6298c1$0$11101$c3e8...@news.astraweb.com>, >  Steven D'Aprano wrote: > >> Sounds ridiculous, but apparently there are vast hordes of people who can >> barely program "Hello World" applying for programming jobs. One figure >> bandie

Re: python interview quuestions

2010-08-11 Thread Ben Finney
Tim Chase writes: > Unfortunately there are candidates who would give your answer but then > have trouble with "Then why are the Last-Modified HTTP headers showing > a date several months before our interview?" My response: “Ha! That's a trick question; ‘Last-Modified’ is a field in the header,

Re: python interview quuestions

2010-08-11 Thread Roy Smith
In article <4c6298c1$0$11101$c3e8...@news.astraweb.com>, Steven D'Aprano wrote: > Sounds ridiculous, but apparently there are vast hordes of people who can > barely program "Hello World" applying for programming jobs. One figure > bandied about -- how accurately, I don't know -- is 199 out of

Re: python interview quuestions

2010-08-11 Thread Steven D'Aprano
On Tue, 10 Aug 2010 16:44:17 -0400, J Kenneth King wrote: > Fizzbuzz is annoying in interviews. It's not for the benefit of the interviewee, but for the interviewer. > I've never worked at a job where I was under a timer while a group of > people sat across from me and scrutinized everything I

Re: python interview quuestions

2010-08-11 Thread Tim Chase
On 08/11/10 01:24, Terry Reedy wrote: On 8/10/2010 8:08 PM, Roy Smith wrote: In any case, if the candidate were to submit somebody else's work, it would come out pretty quickly as we discussed their code. I suppose one question I might ask would be, "Can you explain why, when I copy-paste one o

Re: python interview quuestions

2010-08-10 Thread Terry Reedy
On 8/10/2010 8:08 PM, Roy Smith wrote: In any case, if the candidate were to submit somebody else's work, it would come out pretty quickly as we discussed their code. I suppose one question I might ask would be, "Can you explain why, when I copy-paste one of your comments into a google search b

Re: python interview quuestions

2010-08-10 Thread Rolando Espinoza La Fuente
On Fri, Aug 6, 2010 at 10:31 PM, Tim Chase wrote: [...] >> More over, it can be done in just a single line of Python. >> >> 7 if you're not very familiar with Python. > > While it *can* be done in one line, I'm not sure it's the most legible > solution.  Though I must say I like this one-line pyth

Re: python interview quuestions

2010-08-10 Thread Roy Smith
In article <507f1970-9c15-4200-a90b-6ebc018c0...@a4g2000prm.googlegroups.com>, Peter wrote: > Agreed. Although anything that involves "take home" or reading of > "their" code runs the risk of the candidate presenting somebody else's > work... I expect a candidate to emphasize their positive qu

Re: python interview quuestions

2010-08-10 Thread Peter
Agreed. Although anything that involves "take home" or reading of "their" code runs the risk of the candidate presenting somebody else's work... It was never a good experience being responsible for the hiring of somebody based on how well they sell themselves in an interview - some people are hope

Re: python interview quuestions

2010-08-10 Thread Benjamin Kaplan
On Tue, Aug 10, 2010 at 1:44 PM, J Kenneth King wrote: > James Mills writes: > >> On Sat, Aug 7, 2010 at 4:32 AM, Tim Chase >> wrote: I would like to aquint myself with Python Interview questions >>> >>> This came up a while ago: >>> >>> http://www.mail-archive.com/python-list@python.org/m

Re: python interview quuestions

2010-08-10 Thread J Kenneth King
James Mills writes: > On Sat, Aug 7, 2010 at 4:32 AM, Tim Chase > wrote: >>> I would like to aquint myself with Python Interview questions >> >> This came up a while ago: >> >> http://www.mail-archive.com/python-list@python.org/msg168961.html >> >> Most of that thread is still relevant (perhaps

Re: python interview quuestions

2010-08-08 Thread Terry Reedy
On 8/8/2010 10:16 PM, Peter wrote: I'm pretty sure both Peter Otten and Terry Reedy were being sarcastic and/ or ironic. About the most I ever am ;=)! I'm sure you're right - and I repeat that I meant no offense. My comments were intended in the spirit of what to do or do not do in an inter

Re: python interview quuestions

2010-08-08 Thread Peter
On Aug 9, 10:39 am, Steven D'Aprano wrote: > On Sun, 08 Aug 2010 17:28:59 -0700, Peter wrote: > > On Aug 9, 6:49 am, Terry Reedy wrote: > >> On 8/7/2010 7:53 AM, Peter Otten wrote: > > >> > You mean you'd go for the candidate who took the conservative > >> > approach and got it right: > > >> > pr

Re: python interview quuestions

2010-08-08 Thread Roy Smith
In article <388041a0-4bc5-4f65-bae3-d516fb90f...@l25g2000prn.googlegroups.com>, Peter wrote: > Realistically, if the application is anything other than trivial then > it will most likely have somebody poking around in it at some stage > who isn't the brightest spark in the firmament. Anybody wh

Re: python interview quuestions

2010-08-08 Thread Steven D'Aprano
On Sun, 08 Aug 2010 17:28:59 -0700, Peter wrote: > On Aug 9, 6:49 am, Terry Reedy wrote: >> On 8/7/2010 7:53 AM, Peter Otten wrote: >> >> > You mean you'd go for the candidate who took the conservative >> > approach and got it right: >> >> > print 1 >> > print 2 >> > print 'Fizz' >> > print 4 >>

Re: python interview quuestions

2010-08-08 Thread Peter
On Aug 9, 6:49 am, Terry Reedy wrote: > On 8/7/2010 7:53 AM, Peter Otten wrote: > > > > > You mean you'd go for the candidate who took the conservative approach and > > got it right: > > > print 1 > > print 2 > > print 'Fizz' > > print 4 > > print 'Buzz' > > print 'Fizz' > > print 7 > > print 8 >

Re: python interview quuestions

2010-08-08 Thread Terry Reedy
On 8/7/2010 7:53 AM, Peter Otten wrote: You mean you'd go for the candidate who took the conservative approach and got it right: print 1 print 2 print 'Fizz' print 4 print 'Buzz' print 'Fizz' print 7 print 8 print 'Fizz' print 'Buzz' Way too verbose. How about print("1\n2\nFizz\n4\nBuzz\nFiz

Re: python interview quuestions

2010-08-07 Thread Peter Otten
Tim Chase wrote: > On 08/06/10 15:37, James Mills wrote: >> On Sat, Aug 7, 2010 at 6:28 AM, geremy condra wrote: >>> If I had to wait 5 minutes while a candidate tried to solve this >>> problem I would not hire them. >> >> Yes you do raise a valid point. It should really only take >> you a mere f

Re: python interview quuestions

2010-08-06 Thread Tim Chase
On 08/06/10 15:37, James Mills wrote: On Sat, Aug 7, 2010 at 6:28 AM, geremy condra wrote: If I had to wait 5 minutes while a candidate tried to solve this problem I would not hire them. Yes you do raise a valid point. It should really only take you a mere few seconds or so to write a solutio

Re: python interview quuestions

2010-08-06 Thread geremy condra
On Fri, Aug 6, 2010 at 6:25 PM, Steven D'Aprano wrote: > On Sat, 07 Aug 2010 06:37:05 +1000, James Mills wrote: > >> On Sat, Aug 7, 2010 at 6:28 AM, geremy condra >> wrote: >>> If I had to wait 5 minutes while a candidate tried to solve this >>> problem I would not hire them. >> >> Yes you do rai

Re: python interview quuestions

2010-08-06 Thread Roy Smith
Steven D'Aprano wrote: > Personally, I'd rather see how a potential hire *tests* his code than how > he writes it. Writing code is easy. Testing code is harder. Testing it > properly is harder still -- it's amazing how many people forget that it's > not just necessary to test the function on d

Re: python interview quuestions

2010-08-06 Thread Steven D'Aprano
On Sat, 07 Aug 2010 06:37:05 +1000, James Mills wrote: > On Sat, Aug 7, 2010 at 6:28 AM, geremy condra > wrote: >> If I had to wait 5 minutes while a candidate tried to solve this >> problem I would not hire them. > > Yes you do raise a valid point. It should really only take you a mere > few se

Re: python interview quuestions

2010-08-06 Thread James Mills
On Sat, Aug 7, 2010 at 6:28 AM, geremy condra wrote: > If I had to wait 5 minutes while a candidate tried to solve this > problem I would not hire them. Yes you do raise a valid point. It should really only take you a mere few seconds or so to write a solution to this. More over, it can be done

Re: python interview quuestions

2010-08-06 Thread geremy condra
On Fri, Aug 6, 2010 at 11:45 AM, James Mills wrote: > On Sat, Aug 7, 2010 at 4:32 AM, Tim Chase > wrote: >>> I would like to aquint myself with Python Interview questions >> >> This came up a while ago: >> >> http://www.mail-archive.com/python-list@python.org/msg168961.html >> >> Most of that th

Re: python interview quuestions

2010-08-06 Thread James Mills
On Sat, Aug 7, 2010 at 5:11 AM, Tim Chase wrote: > Another common thing you can do on a newsgroup is mention the "FizzBuzz" > problem.  Any good competent newsgroup will produce a multitude of proposed > solutions, the majority of which will be wrong. ;-) That's actually a very good point! Someon

Re: python interview quuestions

2010-08-06 Thread Tim Chase
On 08/06/10 13:45, James Mills wrote: On Sat, Aug 7, 2010 at 4:32 AM, Tim Chase wrote: I would like to aquint myself with Python Interview questions This came up a while ago: http://www.mail-archive.com/python-list@python.org/msg168961.html Most of that thread is still relevant (perhaps thr

Re: python interview quuestions

2010-08-06 Thread James Mills
On Sat, Aug 7, 2010 at 4:32 AM, Tim Chase wrote: >> I would like to aquint myself with Python Interview questions > > This came up a while ago: > > http://www.mail-archive.com/python-list@python.org/msg168961.html > > Most of that thread is still relevant (perhaps throw in some py3l questions > to

Re: python interview quuestions

2010-08-06 Thread Tim Chase
I would like to aquint myself with Python Interview questions This came up a while ago: http://www.mail-archive.com/python-list@python.org/msg168961.html Most of that thread is still relevant (perhaps throw in some py3l questions too) -tkc -- http://mail.python.org/mailman/listinfo/pyth

Re: python interview quuestions

2010-08-06 Thread Gary Herron
On 08/06/2010 10:44 AM, prakash jp wrote: Hi all, I would like to aquint myself with Python Interview questions . I am a Python Scripter, so if u could orient the pointers in the same direction it would be very handy Regards Huh??? -- http://mail.python.org/mailman/listinfo/python-list