Slashdot Mirror


Programmers Are Confessing Their Coding Sins To Protest a Broken Job Interview Process (theoutline.com)

A number of programmers have taken it to Twitter to bring it to everyone's, but particularly recruiter's, attention about the grueling interview process in their field that relies heavily on technical questions. David Heinemeier Hansson, a well-known programmer and the creator of the popular Ruby on Rails coding framework, started it when he tweeted, "Hello, my name is David. I would fail to write bubble sort on a whiteboard. I look code up on the internet all the time. I don't do riddles." Another coder added, "Hello, my name is Tim. I'm a lead at Google with over 30 years coding experience and I need to look up how to get length of a python string." Another coder chimed in, "Hello my name is Mike, I'm a GDE and lead at NY Times, I don't know what np complete means. Should I?" A feature story on The Outline adds: This interview style, widely used by major tech companies including Google and Amazon, typically pits candidates against a whiteboard without access to reference material -- a scenario working programmers say is demoralizing and an unrealistic test of actual ability. People spend weeks preparing for this process, afraid that the interviewer will quiz them on the one obscure algorithm they haven't studied. "A cottage industry has emerged that reminds us uncomfortably of SAT prep," Karla Monterroso, VP of programs for Code2040, an organization for black and Latino techies, wrote in a critique of the whiteboard interview. [...] This means companies tend to favor recent computer science grads from top-tier schools who have had time to cram; in other words, it doesn't help diversify the field with women, older people, and people of color.

37 of 1,001 comments (clear)

  1. Perhaps a better method... by johnsmithperson123 · · Score: 5, Interesting

    Would be a trial (as in free trial). Throw a fairly standard problem at them, but not one with a simple, common place implementation. Drop them at a computer with internet access, give them a couple hours, and see what they have at the end of it. It's not perfect, but it's probably a better way to evaluate skills.

    1. Re:Perhaps a better method... by JoeMerchant · · Score: 4, Interesting

      I've seen interviewers (one "remote work" from the Philippines comes to mind in particular) use this technique to get free work: dangle a job offer, present a thorny, nigh intractable, problem as the "interview process," get applicants to submit various solution approaches and even complete solutions - choose the best, use it yourself - never hire anyone.

    2. Re:Perhaps a better method... by JoeMerchant · · Score: 5, Insightful

      If the "friends" are always available and willing to help, then I don't care - use them, get paid.

      There's an incredible resource of programming advice available through Google and the various help boards - being able to effectively leverage that resource is a skill far beyond the value of solving obscure statistical riddles about colored marbles in jars.

    3. Re:Perhaps a better method... by beelsebob · · Score: 4, Informative

      Honestly, I see all of the complaints above as whines by people who don't understand what a whiteboard interview is.

      * If I ask you to write a sorting algorithm on a white board, I am not asking you to by rote copy out a bubble sort - in fact, if you do it by rote, I'm likely to go "oh, well that was uninformative, he didn't solve any problems, he just copied something out" (and that's why I'm unlikely to ask you to sort things, but instead, something more obscure)
      * If you "don't do riddles" then I actively don't want to hire you - the entire purpose of a software engineer (i.e. not a flunky programmer) is to do riddles, all day, every day. If you don't want to do that, you don't want to do the job I'm interviewing you for.
      * If you need to look up how to find the length of a string in python, I don't give any shits. I don't care if you write x.length(), x.size(), x.count, length(x), I'm asking for you to solve a problem, not get the code in the exact shape it'll compile in.
      * If you don't know what NP complete means, I don't care. Of course I'm going to probe a bit into whether you can analyse the performance of your code - that's absolutely part of the job, and something I need to know you can do. But not knowing what one term means is not going to not get you hired.

      Long story short - don't assume that everything in a whiteboard interview should be taken literally. I don't want to find out if you can write exact algorithm x perfectly so that it will compile. I want to know if you can solve a problem, and can talk rationally about your solution, its trade offs, its performance, etc.

    4. Re:Perhaps a better method... by infolation · · Score: 5, Interesting

      USA Airport Immigration has recently started putting programming questions to travellers who claim to be software engineers. In one case they asked the traveller Python questions.

      (Not to be confused with the Monty Python questions the UK immigration authorities ask.)

    5. Re:Perhaps a better method... by jordanjay29 · · Score: 4, Insightful

      So make the expectations clear. Isn't that what you would do for an employee on a daily basis? Stacking the deck against the candidate by asking an academic-style question and not expecting an academic-style answer is a poor method for getting a good result. Just be open in the interview by stating up front that you're not looking for A-grade answers or code that necessarily compiles perfectly, but conceptual understanding and to see a candidate's coding process.

      Maybe you already do that, but hopefully others who don't will start so the interview process can become a more useful measure.

    6. Re:Perhaps a better method... by alvinrod · · Score: 5, Interesting

      If you're basing hiring on whether or not someone gets the correct answer to a statistics problem, you're probably hiring wrong. Instead, if you're using it to evaluate how a person approaches solving a problem, what steps they take, how they go about verifying if their solution is correct, what questions they ask about the problem, etc. then the problem itself really doesn't matter. In fact, it would be better to give them something impossible just so you get the added kicker of seeing how they react to that because management will sure as shit ask for impossible things from time to time.

      Hell, you could even give them a computer to see how they search for information. If I'm really stuck on something, after five minutes I start searching online as a rule because occasionally the solution requires some obscure piece of information only found in the errata or there's a bug that hasn't been patched yet and there's no point banging my head against the wall if someone else has already done that. Someone who has good Google-fu and can quickly find the information they need may well be more valuable than someone who could eventually work through the problem on their own, but only after spending 3 hours on what could have been solved in 3 seconds.

      I'd be a little leery of someone who always needs friends, because if they aren't available they might make new friends at work and then you've got someone who's eating up other developers time and hurting their productivity. However, interview processes shouldn't be about knowing answers to esoteric or eclectic problems, but rather making sure the individual has a healthy approach to solving problems, because that's what you're paying them to do. If the code is really boiler plate, you can probably just get a machine to generate it.

    7. Re:Perhaps a better method... by Blymie · · Score: 5, Insightful

      I once had a potential employer, ask me to complete a 15 hour long coding project as part of the interview process, over a weekend. Quite frankly, I just didn't have time. I told them so, and never heard from them again. What was I supposed to do, cancel plans I made, going out of town for the weekend?

      Not to mention, I have a full-time job working 60 hours a week. I'm supposed to lose sleep, for a potential job which may never come? It was only the first interview too.

        Ridiculous.

    8. Re:Perhaps a better method... by lgw · · Score: 4, Interesting

      you "don't do riddles" then I actively don't want to hire you

      There was a famous case at Microsoft about the time they stopped doing stupid puzzles. The interviewer asked some stupid puzzle about perfectly rational pirates diving treasure. The interviewee took out his phone, call his 10-year old son, who solved the puzzle on speakerphone, then walked out of the interview.

      You may have enjoyed such puzzles as a kid yourself. Grow out of that in a professional setting. Ask something job-related. Surely you've had an interesting problem ever at your job - ask the candidate how they'd solve it.

      Same for coding problems - ground your coding problem in a scenario that might ever come up at work, and be open to outside-the-box solutions to the real-world problem that dodge the specific coding problem you had in mind.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    9. Re:Perhaps a better method... by doom · · Score: 4, Interesting

      Long story short - don't assume that everything in a whiteboard interview should be taken literally.

      But this is the old "we don't necessarily expect you to know the answer, we just want to see your mental processes as you attack the problem"-- and that's complete garbage. If the interviewer is asking you trivia that they've got memorized, they're not going to be impressed at you flailing around trying to work it out from scratch.

      Myself, I've started refusing to try to answer questions like that-- this won't get me hired, either, but I feel better for not making a fool of myself for the interviewer's amusement.

    10. Re:Perhaps a better method... by tsstahl · · Score: 5, Insightful

      I have to chime in on this. It comes down to the interviewer's expectations. Many years ago I had a white board interview with one of the 3 letter acronym companies. I wrote my answers to the questions in plain language P-code; I was prepared to defend in C++ and Pascal.

      The interviewer said I 'flunked' because the code wouldn't compile. I asked him to show me his white board compiler as that would be really cool tech. I only knew he was truly serious when he didn't laugh.

      This was one of the moments that guided me out of full time development.

      Back to the point, if the white board is merely a tool to demonstrate knowledge of, and insight into, Foo, then fine; otherwise it is an artificial somewhat nonsensical barrier.

    11. Re:Perhaps a better method... by DontBeAMoran · · Score: 4, Funny

      Sorry but we don't hire people who use monospace in their posts.

      --
      #DeleteFacebook
    12. Re:Perhaps a better method... by Grishnakh · · Score: 4, Interesting

      It's sort of like if someone explains Japanese is a language, you know, like Spanish or Portuguese. Don't use two other mutual-intelligible languages, which happen to be totally different than the one you're talking about, as your examples.

      To be fair, there really aren't *any* languages similar to Japanese. The closest is probably Chinese (Mandarin), but that's only because Japanese borrows a bunch of written characters from it, for one of the three character sets, called Kanji. (So Japanese people can make out a few written words in Chinese, and vice versa, much like English speakers can make out a few words in French which we've borrowed.) The pronunciation, grammar rules, syntax, etc. are all completely different. Japanese isn't even a tonal language like Chinese.

      The only languages similar to Japanese are other "Japonic" languages, which are all used only in Japan, and within Japan are merely considered dialects of Japanese, and almost no one outside of Japan would have heard of these languages anyway as they're endangered, much like other languages spoken only by a small number of people, such as Romansh used in a small part of Switzerland by about 60k people, or the Frisian languages used by about 500k people in Netherlands and Germany.

      https://en.wikipedia.org/wiki/...

      So if you wanted to say "Japanese is a language, you know like...", you'd do best just listing 2 or 3 completely unrelated languages, such as Portuguese, Russian, and Hindi, because there simply aren't any well-known languages that are similar to Japanese.

    13. Re:Perhaps a better method... by DontBeAMoran · · Score: 4, Funny

      Fontism.

      --
      #DeleteFacebook
  2. I could not agree more by Anonymous Coward · · Score: 5, Insightful

    I have interviewed many people and I don't believe in trick questions. Programmers are not supposed to memorize every algorithm. They should understand how to attack and solve a problem. I was always more interested in their thought process rather than if they get the right answer. How they look at the problem is more important

    1. Re:I could not agree more by glenebob · · Score: 5, Insightful

      Isn't bubble sort a trick question?

      "Please implement bubble sort."
      "No. That would be stupid."
      "Good answer."

    2. Re:I could not agree more by CaptainDork · · Score: 5, Insightful

      Mod +1, Insightful

      --
      It little behooves the best of us to comment on the rest of us.
    3. Re:I could not agree more by Anonymous Coward · · Score: 5, Informative

      Bubble sort is also good for almost sorted datasets (pretty much n in this case). It's used for very fast broad phase collision detection where overlaps are detected during swaps. Since the sort happens every timestep, the endpoints stay pretty much sorted and the broad phase collection detection runs in near n time.

    4. Re:I could not agree more by markus · · Score: 5, Insightful

      I am not sure why you got downvoted.

      You are absolutely correct. There are cases where bubble sort is entirely applicable and in fact preferable. I don't require a candidate to have memorized the exact implementation of bubble sort (why would they; that is in fact something you can look up). But if a candidate can meaningfully discuss performance characteristics and explain why a certain algorithm would do better or worse in a specific situation, then that's exactly what I am looking for.

      It demonstrates a better understanding of how computers actually work. For some tasks, it is perfectly acceptable to treat a computer as a black box and to fully rely on very abstract high-level APIs. And there are in fact advantages to this approach. But there are plenty of problems where this results in horrible scalability problems that can never be fixed afterwards. And in this day and age, we need to know how to scale to millions or hundreds of millions of users. A software engineer who doesn't understand these concepts is not a good fit for the openings that I am looking to fill.

    5. Re:I could not agree more by serviscope_minor · · Score: 4, Interesting

      But bubble sort is a horrendous sorting algorithm with no practical applications.

      I heard this one once. You have a bunch of straight lines that go from x=0 to x=1 and start and finish at various points on the y axis. Naturally some lines cross. Start with the lines ordered by their y coordinates at x=0. Then replace the y coordinates with the value at x=1. If you then bubble sort them to get them in the correct order, every exchange corresponds to an intersection of the lines.

      So, if you want to find the intersections, I don't believe there is a more efficient way of doing it (proof needed!). Bubble sort has a particularly large number of exchanges even for an O(N^2) sorting algorithm, but you can't escape that cost in this case since that many intersections exist.

      Fun fact.

      So, if you're doing something with line intersections then there is a use for bubble sort.

      So, there is like ONE practical use for bubble sort in some obscure use cases. Taa-daa!

      --
      SJW n. One who posts facts.
  3. SubjectsSuck by aardvarkjoe · · Score: 5, Insightful

    in other words, it doesn't help diversify the field with women, older people, and people of color.

    While there are some good reasons to dislike "code on a whiteboard" interviews, this is not one of them.

    --

    How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    1. Re:SubjectsSuck by GuB-42 · · Score: 5, Funny

      It is always about whiteboards. Blackboards are never given a chance.
      There is no way such an environment could help diversity.

  4. Same by darkain · · Score: 5, Informative

    Hi, my name is Vince. I interviewed for Amazon, specifically for their PHP API for AWS development team. Despite an entire background of 10+ years of developing front-facing PHP APIs for other businesses, plus having a major part of my code available for public review on GitHub, I failed their interview process because they wanted me to write a specific type of searching and sorting algorithm, by hand, on white-board. This type of code would never have been used on the job, ever. Yet this is what they interview on. The job was to build a PHP API so PHP developers can call basic PHP functions, and the library would translate them over to HHTPS calls to AWS. All of the complex computing/searching/sorting is handled by the existing AWS services.

    1. Re:Same by Registered+Coward+v2 · · Score: 4, Insightful

      Hi, my name is Vince. I interviewed for Amazon, specifically for their PHP API for AWS development team. Despite an entire background of 10+ years of developing front-facing PHP APIs for other businesses, plus having a major part of my code available for public review on GitHub, I failed their interview process because they wanted me to write a specific type of searching and sorting algorithm, by hand, on white-board. This type of code would never have been used on the job, ever. Yet this is what they interview on. The job was to build a PHP API so PHP developers can call basic PHP functions, and the library would translate them over to HHTPS calls to AWS. All of the complex computing/searching/sorting is handled by the existing AWS services.

      It's not just the coding side that is broken, most interviews are; at lest what I've seen from both sides. From my experience, what really counts is being able to answer yes to the question "Would I want to spend 8 hours sitting next to this person on an airplane seat?" I can read a resume and assume most of it is true or at least not overly hyped, verify it with a question or two and ask a question out of left field simply to see if you can think on your feet; but that doesn't really tell me if you can do the job, nor would 8 hours of grilling. If I think I can get along with you then I can help you learn the job assuming your resume is reasonably accurate in regards to your skill set; if you are an insufferable jerk than I really don't care how good you are, go make someone else's life miserable; life's too short and work hours too long to deal with you.

      --
      I'm a consultant - I convert gibberish into cash-flow.
  5. Sick of the trick questions on interviews by Anonymous Coward · · Score: 5, Insightful

    There's always that one guy on the interview team that would rather stroke his own ego by asking a "trick question". 100% of the time it will be either on an obscure function or feature of a language that may be used once in a career, or it will be so poorly worded as to be unrecognizable. I really don't believe that any other profession runs into this problem. With 40 years experience, an extensive resume, 100's of successful projects, I'm still treated like I graduated yesterday and am "tested" on what I know. It's insulting and companies need to stop. I'm at the point in my career that when the "trick question" person hits the white board, I ignore them and redirect the conversation back to the people asking real questions. If you are an interviewer you'll do yourself and the potential hire a much greater service by either presenting them with a challenge you've recently overcome or asking them to narrate one they've recently overcome.

    IOW - trick question guy, knock the shit off, you're annoying the rest of us. It is much more important to determine the prospects problem solving methods and skills than their fluency in the programming flavor of the month.

  6. The best interview coding question by Jeremi · · Score: 5, Insightful

    "Show me an example of a program that you wrote and are proud of"

    (and then go over the program with them to make sure they understand how it works and why they wrote it the way they did)

    The proof is in the pudding.

    --


    I don't care if it's 90,000 hectares. That lake was not my doing.
  7. Re:CS Fundamentals are important by darkain · · Score: 4, Insightful

    Quick cheat sheets are important. Not everyone can memorize every single library function in every single language they use on a daily basis, even simple functions.

    Is it:
    strlen(string)
    len(string)
    length(string)
    count(string)
    string.len
    string.len()
    string.length
    string.length()
    or any number of other variations.

    As a developer, I'm sure most everyone knows the task they're trying to do (get the length of a string), but there are so many variations of the same function between libraries and languages, that it is often quicker and easier just to search which one is appropriate for the given language, than to simply type each one out and test the code to see which one doesn't bail on execution.

  8. Hello, my name is Donald by TeknoHog · · Score: 5, Funny

    and I don't know what "truth" means. I look up things like "democracy" and "separation of powers". I don't do riddles.

    --
    Escher was the first MC and Giger invented the HR department.
  9. Now hi-tech are companies the "old grognards" by Anonymous Coward · · Score: 5, Funny

    As a CS professor, I find the use of these kind of review processes kind of contradictory.

    In education, we often based pass/fail on two hours long exams where the student has no access to outside information. Then companies say that's not how the real world works. CS evaluation sucks!

    We change to continuous evaluation or project based learning, where student has longer time (well, certainly not 2 hours in a closed room) and can access external resources. You know, like the real world. And now it's companies the ones evaluating candidates the old fashioned way!

    Let's go back further in time and go for corporal punishments...

  10. Interviews need training, too by rockmuelle · · Score: 5, Interesting

    What I've always found funny about this interview process is that the assumption is always that the interviewer knows the correct answer(s) to the question. It's painful when they don't.

    Years ago I interviewed at Google and was asked a question about bit counting (some variation on "given a bit vector, wat's the fastest way to count the number of 1s?"). I quickly answered, "well, if your processor has a population count instruction, stream your vector through that and accumulate the result in a register". Having just evaluated bit counting methods as part of my Ph.D. dissertation, I knew this was the fastest way to do it, assuming the instruction was available (it's not on x86, but is on Power/VMX and most DSPs support it as well).

    After I got a blank stare back from the interviewee, I said, "Oh, you were looking for the lookup table answer". We could have left it at that, but he went on to explain using some very convoluted logic how the lookup table would actually be faster than using a dedicated instruction and that my answer was clearly wrong. I mentioned a little bit about the number of cycles required for each approach, but he had none of it. In his mind, I had the wrong answer, even though my second answer was what he was looking for.

    It was at that moment that I realized Google was not going to be a good place to work.

    -Chris

    1. Re:Interviews need training, too by jittles · · Score: 4, Interesting

      What I've always found funny about this interview process is that the assumption is always that the interviewer knows the correct answer(s) to the question. It's painful when they don't.

      Years ago I interviewed at Google and was asked a question about bit counting (some variation on "given a bit vector, wat's the fastest way to count the number of 1s?"). I quickly answered, "well, if your processor has a population count instruction, stream your vector through that and accumulate the result in a register". Having just evaluated bit counting methods as part of my Ph.D. dissertation, I knew this was the fastest way to do it, assuming the instruction was available (it's not on x86, but is on Power/VMX and most DSPs support it as well).

      After I got a blank stare back from the interviewee, I said, "Oh, you were looking for the lookup table answer". We could have left it at that, but he went on to explain using some very convoluted logic how the lookup table would actually be faster than using a dedicated instruction and that my answer was clearly wrong. I mentioned a little bit about the number of cycles required for each approach, but he had none of it. In his mind, I had the wrong answer, even though my second answer was what he was looking for.

      It was at that moment that I realized Google was not going to be a good place to work.

      -Chris

      I decided not to work for a company after an experience like this. The interviewer asked me a question, I solved it adequately. He then tried to claim that my answer was not sufficient because it didn't handle certain words in French. The guy didn't know that the character in question was covered by extended ASCII and claimed that I had to use UTF8 to handle Latin languages. As someone who is bilingual, I knew this was not the case. I gently suggested that the character was in the extended ascii table and he got very defensive. So, I conceded that perhaps he was right (even though I knew he was not), and proceeded to answer the question using UTF instead of extended ascii. That guy was going to be my new manager, had I accepted the job. I had no interest in working for someone who could not handle being wrong.

  11. Other things to interview for by Walt+Sellers · · Score: 4, Insightful

    Technical expertise is only one part of the whole picture. But it may be the part people thrust into the interviewer chair are most familiar with. Sometimes the interviews feel like a final exam and I wonder if they interviewer had final exams pretty recently.

    I have been known to point out these annoying little things to my colleagues when we are hunting to fill positions:

    Do the candidates' personalities mesh well with yours? Do you think you can stand being around them and working with them day after day?
    Will they be reliable?
    Do they seem easy to train? They will need to learn how this group does business and works together after all.
    Do they express curiosity when they don't know the real answer?
    Do they make things up to fake an answer? Or do they say "I don't know the answer, but based on my experience I would guess this..."?
    Do they communicate well? Do they listen well?

  12. Re:some things should be trivial for any expert by doconnor · · Score: 5, Insightful

    Experts know that it is almost always better to use the sort from the language's library, and if they can't then they would look up the code for Quick sort and use that.

  13. Re:some things should be trivial for any expert by gumbi+west · · Score: 4, Insightful

    It's more like asking an expert pianist to tune a piano. Yes, some can, and that's great. But others can't, and it's usually not relevant--because you usually hire a piano tuner to tune the piano. Just like how you really should use an existing function for sorting.

  14. Re:I'll answer this one. by lgw · · Score: 4, Insightful

    I probably learned about the difference between NP-complete and NP-hard 25 years ago. It hasn't come up since. Much is the academic stuff can be fun to study, it's useless in most jobs. The only algorithmic question that ever comes up in practice is "is it better then O(n^2)". In-memory efficiency so rarely matters.

    --
    Socialism: a lie told by totalitarians and believed by fools.
  15. No. Wrong. by presidenteloco · · Score: 5, Insightful

    By using a "name-brand algorithm" which I learned in 2nd year or whatever, umpteen years ago, you are testing for cramming ability, recency of test-cramming at school, and mental copy-paste of whatever was crammed.

    You are definitely not testing for problem comprehension and creativity of solution or methodical approach to solution. All of those skills will be severely impaired by time-pressure panic, if you have a good programmer in front of you who has not crammed that particular cookie-cutter name-brand algorithm lately.

    It would be one step better if you just said: write an algorithm to sort this array/list of values. But you still chose a problem for which comprehension, creativity, and methodical solution skills are not needed, if the person happens to pattern match your posed problem with the bubble-sort they just memorized for interview-readiness purposes.

    So if anything, choose a simple-ish problem that is NOT one that has readily available mental copy-paste cheats available.
     

    --

    Where are we going and why are we in a handbasket?
  16. Hello, my name is... by uncqual · · Score: 5, Interesting

    Hello, my name is Anonymous Coward. I am a software developer.

    I was talking to you about a database kernel position which is a field I have spent much of my career in and in one case was a key member of the design/coding team developing the initial (and several subsequent) releases of a revolutionary enterprise class scalable DBMS which is still being sold over thirty years later and in production at many of the biggest companies. You, of course, must have known that because you contacted me and, unusually, I decided to stop by and chat with you because I have a soft spot for startup companies, database, and engineering managers who look around seeking talent themselves rather than relying solely on recruiters. You asserted that your startup was developing an enterprise class scalable DBMS system so it seemed like it might be interesting.

    You then asked me to write, on the whiteboard, a 'debit/credit' function that took three arguments and returned, IIRC, the amount transferred (admittedly that was a little odd). The first two arguments were account objects (passed by reference if I recall) representing the source and destination accounts respectively and the third argument was an amount (presumably in the same currency as both accounts were maintained in) to transfer (a float if I recall -- that, of course, is likely stupid in itself when dealing with currency).

    I, understandably, was perplexed -- you must want something more than this simple function (I'm not fresh out of high school looking for a summer job) and I tried to get more requirements out of you and got none except when I asked if this function was to provide its own concurrency control or if a higher level would have insured both accounts were sufficiently locked you said something like "Okay, you need to provide the locking" and agreed that I could assume existence of "Acquire/ReleaseWriteLockAccount(AccountObject)" functions.

    Okay -- so I'm thinking this is a concurrency problem, no problem (still lame, but okay...). Obviously I need to deal with deadlock potential so I ask if I there is some unique attribute of each account (you didn't give me a description of the account object's public members) that had a well defined order that I (and other developers) agreed to use to order locks when locking multiple accounts to eliminate or at least reduce deadlocks. You weren't prepared for the question so I asked if I could assume (I think) that the account number was a public field, unique among all accounts, and supported the LessThan operator with traditional semantics. You said, sure.

    I wrote the code making sure to lock the accounts in order of account number, transfer the funds, unlock correctly and return the required value.

    You were not happy -- what you really wanted me to check, it turns out, was that the source account would not end up with a negative balance and fail to do the transfer and return 0 as the result.

    What you didn't seem to realize is that in the real world cash balances on individual accounts go negative sometimes. In fact, at that instant, I had one (of multiple) accounts at one brokerage firm which had had a small negative cash balance due to an inter-account transfer out for over six months and no one cared because I had multiple accounts at that firm with a net value of well over a million dollars and cash balances (well, "cash equivalents"), overall, of a few hundred thousand dollars.

    Both of us made a decision in that discussion. You decided you didn't want to hire me. I decided I would never work for you or your company as I didn't want to risk working on/at a team/company which was so poor at evaluating people and would pass on good developers who know how the real world works and would likely hire unqualified people who answered your kindergarten questions the particular way you wanted.

    Of course, I was glad that we both made those decisions because your company seems to have never got past a very modest A round and seems to have disappeared off the face of the Earth quietly.

    --
    Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.