• CosmicTurtle@lemmy.world
    link
    fedilink
    English
    arrow-up
    71
    ·
    10 months ago

    I remember one interview I had with a candidate. It was for a database analyst position that required SQL.

    The first round was typically a phone screen where I chat with the candidate, get to know them a bit.

    Second round was code review. I asked them to do a SQL query that did x.

    The queries were simple. The goal was to get the candidate to walk through the query.

    I had one candid that, over screen share, wrote the query flawlessly. Then I asked them to explain what it was doing. The candidate froze.

    I can get understand getting nervous so I moved onto an insert statement. I had them write one and then do another without using certain terms (often leading to a sub query).

    Again, flawless. I asked what situations would you use one over the other.

    Again, they froze. I started to get suspicious that they were cheating and had them, instead of typing the answer, say the answer. When they couldn’t, I knew enough that it wasn’t going to work.

    • stoly@lemmy.world
      link
      fedilink
      arrow-up
      34
      ·
      10 months ago

      I had an applicant very obviously read to me that Wikipedia article about Active Directory.

    • RegalPotoo@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      ·
      10 months ago

      A lot of the time I find “spot the bug” questions to be more informative, especially for junior roles. We stopped asking fizz-buzz - just about everyone has heard of it by now and it’s pretty easy to just rote learn a solution. Instead we give them the spec for fizz-buzz and a deliberately broken implementation and ask them to fix it. If they get flustered, just asking “what does this program output” usually give a pretty clear indication if they can reason about code in a systematic way.

      • aksdb@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        10 months ago

        That’s fine if there are no weird pedantic ropes to fall over. I am not a compiler or linker, that’s what I have compilers and linkers for. Same with an IDE. I don’t know many details of the stdlib or other common libs, because why should I waste space in my brain for stuff code completion can show me…

        • RegalPotoo@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          ·
          10 months ago

          The kind of bugs I’m talking about are things like “the logical flow of the code is broken because the order of the if/else if/else branches is wrong”, “this program never finishes because you don’t increment that counter” and “you specified print the numbers 1 to 100, but that counter starts at 0”.

          I’m testing your ability to think logically, not your knowledge of stdlib trivia

        • 0xD@infosec.pub
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          10 months ago

          No, that approach is completely fine even if pedantic because you get the candidate to reason about their choices and their approach which tells you so much more about them than rote memorization. Being pedantic is the whole point of it.

          • aksdb@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            10 months ago

            That’s likely not what I mean by pedantic. If your code example has syntactic errors or calls functions with not enough or too many parameters and you expect them to notice, you want them to do, what a compiler does or to know technical documentation by heart. Which is completely academic and pointless.

            Concentrating on “algorithmic” solution at hand is fine, though. Unless you again expect them to recognize stuff like “hey this is almost Dijkstra’s algorithm but wrong”, because the interview should not be a university computer science test.

    • redcalcium@lemmy.institute
      link
      fedilink
      arrow-up
      21
      ·
      10 months ago

      I wonder why people do this. You wouldn’t apply to a welding job if you can’t weld. Why so many people apply to programming positions if they can’t actually code (or a database analyst position without knowing SQL)?

      • hulemy
        link
        fedilink
        English
        arrow-up
        15
        ·
        10 months ago

        Some people seem to think you can just Google stuff or more recently use AI to do the coding, not knowing that being a dev is mostly about knowing what to search and that being a dev isn’t just coding.

        • Kühe sind toll@feddit.de
          link
          fedilink
          arrow-up
          6
          ·
          10 months ago

          I mean, Google and AI can be really helpful, but you should be able to do stuff without it. Google won’t help you if you have a problem with a customer/company specific problem that requires knowledge about the whole technical infrastructure.

        • rottingleaf@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          Some people seem to think you can just Google stuff

          If you are a junior sysadmin - sure as hell you can and you will. Not everything has good manpages. Not every configuration of something is trivial to imagine, and it is useful to see what somebody else did.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        My current job just hired someone as a senior Salesforce admin with a bunch of certs who in reality lacks any Salesforce skills at all. He’s been here for 6 months now and is really just dead weight on the team, but the only reason he hasnt been let go yet is because middle managent above him has its own host of issues, and the only reason he’s on thin ice is because of some of my team has been very loudly forwarding complaints against him up the chain and clearly communicating that he’s not showing the competencies that are required for the role and that he claimed to have. I give it another 6-12 months before he either gets fired or bounces

    • rottingleaf@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      I could freeze like that because of being only shy/nervous, just saying. Over things I knew.

      Say, “what it does” may bear different weight when you are autistic. You try to grasp the thing from iron to logic to computers to B-trees to database itself etc.

      To know that you only have to say a simple thing also requires experience which juniors may not have.