The company I work for has a standard Perl question that they ask developers. And when they asked me this question, I quickly dashed off a solution, which fell apart as soon as they asked me to explain it (awkward). I dropped that approach and did it another way, and was able to prove or explain that it would work. Phew.

I imagine that this question has leaked out, and there may have been applicants who have written the perfect response based on that advance knowledge. I seriously doubt that advance knowledge helped them. Any further exploration into Perl knowledge would clearly have left them high and dry.

I don't believe that software development is in a place now where you can 'fake it till you make it' -- you have to be able to have decent chops and be able to hit the ground running. You have to eat, live and breathe software.

Cheating on interview questions is going to be a waste of time for both the underqualified employee and for the frustrated employer who has to downgrade and/or terminate the employee. That's not a good outcome.

But to get back to the original interview question -- if you're a developer, you should be familiar enough with binary, octal, decimal and hex, and with numbers in general, that you can do all sorts of cool tricks with numbers.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

1. Thanks to abell, I have finally fixed this pounds/kilograms mixup after two weeks. Can I blame dyslexia? I can? Sorry, my mistake.


In reply to Re: Stop with the interview questions already by talexb
in thread Stop with the interview questions already by ssandv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.