This pilot fish goes in for a job interview, and the hiring manager tells him, “I like to give everyone a little programming test. You should be able to complete it within 15 minutes. Are you OK taking a simple test?”
Sure, says fish.
Turns out it really is simple. Fish only takes about five minutes to produce a little two-line function with a Boolean return value.
Interviewer looks at fish’s solution and says, “This is correct. I would only point out you could make it even simpler by putting the expression right into the Return statement.” Sure enough, fish realizes, his little two-line function could really be a one-liner.
He doesn’t get the job.
from Computerworld https://ift.tt/3bPs3ek
No comments:
Post a Comment