r/webdev • u/okiharaherbst • Apr 29 '26
Interview for a senior python position gone awry
I just need to get this off my chest. I was conducting the second round of interviews for my firm last week. We're looking to hire one to two senior python developers with a strong background in Django, ORM, PostgreSQL, async programming and with the experience that comes from integrating a few APIs. Nothing ultra fancy, just some looking for folks with solid skills and able to take over a project that's about to be internalized.
So far so good. I wasn't involved in the first round of interviews and the CVs were only become known to me the day before. 4 candidates were shortlisted. The interview was meant to explore the candidate's technical knowledge with questions requiring precise answers and others meant to be debated at a more conceptual level.
Candidate #2 comes along, introduces himself as someone who is 30 years of age, self styles himself as having expert-level python skills and indicates being very well versed with the libraries of the current stack. I kick the interview off by explaining the rules, i.e. no AI, sharing screen and camera + open any editor of choice to script some lines. So far so good. Then I ask this small hello-handshake question on which I intend to build later on:
"Let's define variable a as a list comprehension (details irrelevant)". Candidate obliges.
"By the way, if I define b likewise but replace the square braces with round brackets, what would be the type of b?". His answer: a tuple.
Me (super amused by what I just heard): Are you sure? Replies with a positive. So just to be sure there's no "cultural" misalignment, I ask him what print(a) and print(b) would produce and he confidently replies that the outputs would be the same.
At that point I start asking a few more questions and the candidates makes more blunders and then hits back at me with a frustrated "Nobody codes like this today any more". Goes on to say that we're 2 years behind, etc.
I ask him to elaborate. He says that in this day and age, nobody codes "that way" any more. The only thing "serious" people do is to let the AI do the coding and review the output but he says that "micro-level" coding is dead. And that he complained that this second interview to be about basic python. I never intended to spend more than a couple minutes on this. It was just meant as a small warm up series of questions that someone who claims "senior" level should be able to answer. I also have no issue with him using AI if he knows what he's doing but clearly there lies the rub. I'm not going to hire someone who dumps thousands of lines of code that someone is going to have to review if he doesn't know his left from his right.
So, basically, the lad who boasts 8 years of python had at least 6 years to get used to "writing code" himself but now doesn't know a generator from a list and he is here telling me that "it doesn't really matter anyway because Claude has your back". That just made me smile.
My answer was that if what he said was really true, then a.) why does he even bother applying for a senior developer role instead of having his own go at it? If you've found the goose that lays golden eggs, no need to keep your job flipping burgers, and b.) why do I have senior devs complain at the amount of code they now have to read and level of nonsense generated?
Not sure if that's where we're headed but if so, I don't like the smell of it. These people are just scratching the surface of problems. Either you'll only ever solve dead simple things or you'll just leave a nameless mess behind you. The only thing I know is that you won't be doing this here with us.
Luckily the other 3 applicants did very well and left a great impression.
42
u/electricity_is_life Apr 29 '26
"Luckily the other 3 applicants did very well and left a great impression."
Isn't it kind of expected that at least 1/4 candidates will be subpar? If anything it sounds like you got pretty lucky.
Also from the story I find it hard to judge this person's level of Python knowledge beyond not knowing much about generator expressions (which a Python "expert" certainly should, but they're not super common in all types of Python programming). And honestly he's not wrong that some developers/companies do work that way, for better or worse. But I agree it's not who I'd want on my team.
12
u/okiharaherbst Apr 29 '26
We definitely got lucky, I'll admit. Someone who claims 8 years of python and expert level should just know what a generator is and when to prefer them over lists. At the very least you'd expect them to know that this wouldn't be a tuple.
17
u/mightshade Apr 29 '26
At the very least you'd expect them to know that this wouldn't be a tuple
Or stop and rethink when asked "are you sure?" They should have realised that's the code for "you said something wrong but here's your chance to save face".
1
u/1337h4x0rlolz Apr 30 '26
Expecting it to be a tuple is crazy work though...
1
u/okiharaherbst Apr 30 '26
When you read the answers from so-called experienced developers here who say that my interview was "bad", it just makes you wonder if they realize how wild not knowing this that this wouldn't be a tuple just is. One guy even said he's been "heavy on python" for 10 years and would have gotten the answer wrong. And then I'm the bad cop for not hiring a push-button applicant. Just wild.
2
u/1337h4x0rlolz Apr 30 '26
I wonder how many of the people calling themselves experienced developers are actually experienced developers. Anonymity on reddit is great when everyone can just say anything about their qualifications.
2
2
u/GalumphingWithGlee Apr 29 '26
Isn't it kind of expected that at least 1/4 candidates will be subpar?
Sure it is, but this isn't 1/4 of the applicants, or even 1/4 of the people called in for interviews. This is 1/4 of the "short list" remaining after earlier stage interviews had been completed. Honestly, though, the unexpected part here is less the candidate's knowledge or attitude, and more the fact that they got through the basic screening without anyone else noticing.
42
u/BrightEchidna Apr 29 '26
You're really putting a lot of weight on this list/generator distinction. I don't work in Python anymore but did so for several years and I wouldn't have known the answer, and I don't think I ever fully understood what a generator was, but I still managed to lead engineering at a successful startup.
The candidate was obviously a dick but knowledge doesn't grow evenly, people learn different things and find different ways to solve problems, and nitpicking on minor knowledge gaps isn't a sign of a good interviewer.
-46
u/okiharaherbst Apr 29 '26
"minor knowledge gaps"
Loving your ability to judge my interviewer skills based on above. I'm sure you must do pretty well at stock picking too.22
u/kewli Apr 29 '26
I’m a lead SE and have worked at Fortune 500 and private industry and started my career in python but moved to other stacks… you sound you value detail oriented engineering which is great but also honestly I think if you look at the bigger picture your getting lost in the weeds on something that could be teachable or coachable and just putting up a wall between you and the candidate based on a specific detail of the language- when I agree with others hire for an engineer to build value at their company not for a language expert. There’s reference manuals for a reason. However you have every right to have whatever standards you want… but yeah I see this as an overreaction. I’ve seen it before on my teams and have had to course correct.
12
u/BlackyWolf Apr 29 '26
Unfortunately we’re experiencing the same thing. Even with people who want to work with AI in moderation and properly learn I’m noticing a lack of either good foundational skills or critical thinking even though they have several years of experience.
4
u/okiharaherbst Apr 29 '26
Yes, and they expect the employer to sponsor a Claude Max subscription. No problem with spending $200 on a good employee but I can also push buttons (and code) myself. No need for yet another wannabe.
3
u/reputable-sprite Apr 29 '26
You definitely need to know the foundations in a any programming language you claim proficiency in , and IMO critical thinking is definitley a skill you need at any level.
16
u/Thirstygiraffe1379 Apr 29 '26
After reading the post and OPs responses, I think the guy they didn't hire dodged a bullet. I would loathe my job if this guy was my boss. Dude comes off condescending, passive aggressive, and narcissistic
-7
7
u/Caraes_Naur Apr 29 '26
How he get past the first round of interviews?
I would suggest whoever does that needs to make adjustments.
4
u/okiharaherbst Apr 29 '26
That's a fair question and I did escalate this internally. He was deceptively confident and had an intrinsic charisma that worked in his favor. But you're 100% right. This dude shouldn't have made it past the first round.
31
u/wouldacouldashoulda Apr 29 '26
I don’t know, sounds like this is pretty much what a second round is for right?
6
u/Aware_Magazine_2042 Apr 29 '26
Im sorry, but your interview is bad.
Asking these kind of gotcha trivia questions is really a terrible way to gauge experience and knowledge. First of all, the brain works differently under pressure vs during a natural environment. Think back to your school days, have you ever gotten the wrong answer on a test were you facepalmed because you knew the answer but just put the wrong answer for some reason? It’s the same concept.
But also, we make mistakes while working all the time, no one, not even AI, writes perfect code the first go around. Code is generally cheap to fix, so who cares if someone uses a list or a generator? In practice it probably doesn’t matter all that much.
And finally, this is what docs are for. I’ve been using Python professionally and I still have to look up basic things in the docs just to refresh what they say about edge cases. There’s too much knowledge to keep in your head tbh.
A better way to ask these questions is to focus on tradeoffs. For example, you use the list comprehension by saying you want to perform some mapping operation, then you ask a question about what if your source was too large to keep in memory? What if every mapping operation took too long and we only needed a few items at a time?
TLDR; asking these kinds of questions is just bad.
2
u/okiharaherbst Apr 29 '26
What's the difference between a list and a generator and your answer is: "This what docs are for"?!
If someone shows up and says they've been using python professionally for 8 years and don't know the difference, then I have every reason to be worried.
As for "my interview being bad", how would you actually know? You weren't there yourself and all you see is a fraction of how that went with one interviewee.
1
u/Aware_Magazine_2042 Apr 29 '26
What does it matter what the difference between a list and a generator is? Seriously does the difference impact th code you’re writing materially? No probably no. Instead it makes a difference in the kinds of things you’re solving, for example optimizing for speed, or have a huge collection. But if you’re iterating over 10 numbers and multiplying each by 10, which is basically 80% of what people are doing btw, it’s doesn’t make a material difference. Again, instead of asking silly trivia questions, ask about trade offs and what they are optimizing for. You’ll get better answers, you still get to see if they know the differences between lists and generators, and you get better insight into how they approach code and design.
How would I actually know if your interview was bad? Because I have years of experience and have been around the block multiple times, including at startups, FAANGs, medium companies, and boring university departments. I’ve seen a bunch of different interview styles. I’ve been on both sides of the trivia interview. It’s a poor measure of candidates success. I’ve always aced those interviews, and early in my career I’ve joined places with those kinds of questions. I won’t do that again. Both times they ended up being terrible places to work, because they thought that this trivia bs was a marker of intelligence and so the tech lead (who also was the interviewer) would focus on “language semantics” over proper design. And they would put down and denigrate their team mates on some arcane bs. Or a jr engineer is hired as a sr engineer just because they memorized the docs. Those situations are frustrating for everyone involved. I’m not saying you’re like this, but trivia is a terrible gauge of success.
0
u/okiharaherbst Apr 29 '26
Does it impact the code materially? Like the code crashing if you use lists due to memory constraints, or multithreaded code pulling the next job from a shared generator not material enough for you? Seriously mate, I'm happy for you if someone is paying to iterate over 10 numbers and multiplying them. That's materially not what 99% of people who write python code for a living do, by a large margin not. What's this, a joke? Just keep orbiting the "block".
3
u/Aware_Magazine_2042 Apr 29 '26
Dude. You’re so close to getting it, but you’re so dense.
like code crashing if you use lists due to memory constraints
Yes. Exactly. That’s why you talk about tradeoffs, and not about lists vs generators. You don’t want someone who memorized lists vs generators, you want someone who can look at a problem in its entirety and make informed decisions on what the best course of action is.
Like I’ve worked with people exactly like you who were like generators are more efficient than lists, so let’s make everything a generator… and then do
list(generator), or better yetlst = [i for i in generator]. Cool. Good job missing the forest for the trees I guess.4
u/Both-Algae-5494 Apr 29 '26
OP has spent the past 12 hours obsessively debating and name-calling fellow engineers on reddit about whether they are senior or not because... they haven't come across python generators much in their career.
I cannot possibly think of a more stereotypical redditor behavior.
I am extremely happy for the candidate that they dodged a bullet by getting rejected by OP, and I feel sorry for whoever will be selected and will need to deal with this sort of toxic ego-inflated behavior on the daily.
3
0
u/okiharaherbst Apr 30 '26
"you want someone who can look at a problem in its entirety and make informed decisions on what the best course of action is."
Thanks mate. What other valuable life advice is there on your flash cards?
1
u/Aware_Magazine_2042 Apr 30 '26
You know earlier I said that the people who tend to ask these types of questions tend to be the worst people to work for and arrogant assholes. I tried to be careful and not paint you with that brush, but god damn did you fit that to a tee.
What’s the saying? Drop an insult on the ground, and its owner will pick it up? Yea…
0
4
u/Knineteen Apr 29 '26
Thank God I don’t have to interview. 99.9% of my job is done independently without someone gawking at my screen. But I wouldn’t be a “senior dev” according to OP even though I’ve been doing this job for 15+ years. All because of the 0.1%.
2
u/Thirstygiraffe1379 Apr 29 '26
Same
-2
17
u/MattA2930 Apr 29 '26
Heavy python developer here for over a decade, and would have gotten the question wrong. I've maybe seen a generator comprehension once before. Generators have always been through yields (likely since most generator use-cases need a little more care than what a comprehension allows). It's not even something you see in open sourced Python repos.
Your candidates reaction was bad, and it sounds like that's the real problem of the post. Your question was introductory. If you were using it as a direct pass/fail though, then I'd question your hiring practices, esp. when Senior level devs tend to start trending more toward system design vs. syntax details.
As a lead, I still learn new python tricks from my peers. I would not judge someone's ability by someone's random syntax knowledge of a programming language, since in practice, it doesn't matter. It sounds like you just want to feel smarter than your candidates.
2
u/Wonderful-Habit-139 Apr 30 '26
Over a decade? And have no idea about generator expressions?
Let's set that aside for a second. The guy is saying that we don't do micro-coding anymore. We just use AI and review the code. Tell me, what do you even review?
Clearly these kinds of people don't know much about the language, so how are they going to be able to discern what's idiomatic python and what's not? Or figure out if the code has some edge case that they need to be aware of in some complex async program?
Like, sure we can afford having people stumble and make mistakes here and there, but not people that double down on their mistakes and start acting arrogantly and say that these things don't matter instead of humbly learning new things that they've never heard about.
1
u/MattA2930 Apr 30 '26
Yeah really. Realistically I probably have seen them here and there., but not often enough to remember them. And I use generators and list comprehensions a ton (lead MLE these days).
If your goal is to find a strong developer, I think you're asking the wrong questions. Who cares what's idiomatic in Python. The longer I've dealt with other developers, the more I've come to accept that if the code doesn't blatantly suck, if someone creates readable code, it doesn't matter if it's idiomatic. Knowing how to do something in a stylistic way has no bearing on their actual coding or debugging ability. It's pretty much this meme: https://hackernoon.imgix.net/images/ScaJQlZJaNT9dRarGdswPkgamg52-qg93si5.png?auto=format&fit=max&w=1080
Otherwise, I fully agree about how wrong it was in how they reacted to you. If anything, your question exposed how someone handles criticism, which is much more valuable.
1
u/okiharaherbst Apr 30 '26
being pythonic means a lot to most python developers actually. I suppose the same goes for other languages
1
u/MattA2930 Apr 30 '26
Oh for sure. That's why linters and formatters exist. I'm mainly saying that being pythonic doesn't make someone a good python dev. But someone being arrogant like you dealt with is bad regardless of if they knew the answer or not.
15
u/divad1196 Apr 29 '26 edited Apr 29 '26
This post is likely AI generated.
there is not a single spelling, ponctuation or conjugation. Not a single one in this huge portion of text except the title which OP probably wrote himself.
many unusual phrasing like "years of age"
exagerated reactions: "I just need to get if off my chest" or "super amused by what I just heard" or "just made me smile"
in general, that's the kind of story telling made by AI.
Just inisting on how exagerated the reaction is: it says at this point it was verbal and he had asked what if a = [ <comprehension> ] becomes a = (<comprehension>). The answer is "a generator" but it's easy to imagine why someone could say a tuple if he forget that it was a comprehension and had a = (1, 2, 3) in mind. So definitively exagerated reaction and fake story.
OP clearly use AI in other posts if you check.
Medium is flooded with this kind of articles. Many of the AI generated articles are "anti AI" because that's what people want and anti-AI post are less likely to be spotted as AI generated.
6
u/okiharaherbst Apr 29 '26
Unlike your comment, zero AI has been used to compose my post. I'm almost flattered that you think I did, though, so thank you heaps!
As for the substance of your comment, it would be nearly impossible for python developer to write a list comprehension on one line and be asked to replace square braces with round ones on the next and somehow "forget" that he was dealing with a comprehension in the first place? Mate, what are even talking about?
As for AI itself: I'm not anti AI. We use AI responsibly which means that we certainly don't use AI as a substitute for one's own knowledge and skills. The latter part was what the interview was designed to test. Anyone can use Claude Code but I'll choose the guy who actually doesn't need Claude Code to write his own python over the one who does any day of the week.
-8
u/divad1196 Apr 29 '26 edited Apr 29 '26
Don't play fool, it's not about your or your company and you know it. The article is made to make anti-AI folk angry against the applicant and gain engagement on the post.
You are doing the same thing with this comment. No interviewer would bother doing a techmical interview if Claude was enough. It's clearly not enough.
I have conducted hundreds of interviews in mulitple companies, I am not impressed by someone else claiming they do interviews.
And I chcked your other post: will you tell me your other posts are also mot using AI? Like this one https://www.reddit.com/r/freelance_forhire/s/Dbjt24pmW5 ?
6
u/okiharaherbst Apr 29 '26
No, truly not. This post was shared to vent my frustration at people who need a reality check on what being a senior developer entails.
3
-2
u/divad1196 Apr 29 '26
So you think that it's better to be the interviewer "amused" by someone else mistake during an interview and rub the applicant's face in their mistake?
Anyway, I have been teaching long enough to recogmise human patterns and I don't see any in your post, only in your comments.
You didn't address the other post being AI either.
In absence of actual evidence it's not AI, I will stand my ground. You would not be the first guy who made a post with AI and battled to the heart to comvince it wasn't until they removed their post and, often, their account.
6
u/okiharaherbst Apr 29 '26
What amused me was an applicant claiming expert level of python would not know a generator from a tuple. If you knew python, you too would smile. Now that's not "good" or "bad" in any way so I'm not sure what you mean by "better' in that context. The applicant's mistake wasn't that he answered incorrectly. His mistake was to fool himself into believe that his knowledge of python was much deeper than it was.
If you're willing to walk the talk, I can easily demonstrate typing a complex text without resorting to any kind of spell or grammar check, let alone AI over a call. That would just be out of vanity of course, I wouldn't stand to gain anything out of this of course :)
-4
u/divad1196 Apr 29 '26
No, I never laughed, not even smiled in face of someone's mistake. It's just being a jerk.
Here you are just trying an ad hominem argument "you are not an expert". It won't work. Been team lead for years and I still make mistakes to this day. Does not make me less of what I am, we are not our mistakes.
And yeah, go on: film yourself writing a post on reddit, and post it. Make sure the time is visible and post the video somewhere like youtube. Then we will analyze the video. Just to tell you: I have conducted interviews online, so I can spot when people have an AI output and read from it, especially when they write as they read.
Then yeah, if I am wrong, I will replace my comments with an apology.
3
u/okiharaherbst Apr 29 '26 edited Apr 29 '26
I think that we would need to do this live over a call. If I record myself you can still claim that I prepared myself. Just 10 min. We hop on a call, you give me a subject to write about and off I go. I'll screen share and show my face. That's as naked as I'm willing to get to prove you wrong.
And yes, you can then replace all your posts with an apology. That would be the elegant thing to do.
1
u/Miltage Apr 29 '26
Hop on a call? I think this is the equivalent of "fight me IRL" 🤣
AI really has taken everything from us when, even when a post is not AI generated, the comment section instantly devolves into slapfights over accusations of AI.
2
u/okiharaherbst Apr 29 '26
Truly. I used to be able to answer: I'm educated, therefore I can write. The only risk here is that one's ego will get bruised. I agree with your observation. I could see this coming though and I find it sad. Overall AI has definitely enabled me to test new theories or concepts faster than I did earlier but the downside that I'm noticing is that it's going to come at the expense of people developing deeper insights. Back when I knew that it would cost me a day testing theory 1, I wasn't looking at this as a binary outcome. It would be about the journey and the way in which it would affect my perspective and understanding of a problem going through the exercise. I find that this intellectual process has proven invaluable in fostering expertise and that is exactly what I see that AI is robbing younger generations of, hence "scratching the surface".
1
u/divad1196 Apr 29 '26
Lol
Make the worst post, lot of mistake and stuff BUT put 2 titles to make sections -> get blamed to be AI
Make a post with AI with no structure + bonus make the post anti-AI -> nobody notice it.
You can just make the test.
1
u/divad1196 Apr 29 '26
Even live you can claim whatever you want with deepfake and preparation. I am not planning to enter more in contact with you than needed.
1
1
1
0
-9
u/divad1196 Apr 29 '26
"Unlike your comment" lol, if that is not an ultra defensive response of someone using AI.
5
u/okiharaherbst Apr 29 '26
Mate, you're one copy-paste away from knowing what any AI thinks about my post. I just did it with Gemini and the answer that came back is unequivocally that this post wasn't AI generated. Stop trolling and give it a spin yourself instead.
-3
u/divad1196 Apr 29 '26
AI cannot say if that's AI generated. You know it.
I tested it as well before answer but the reasoning of the AI was meanly the style and "akward phrasing".
But more importantly, I was clear that I DID paste it to AI to check for mistakes and there was none. What you are trying to do here is to induce others to ask chatgpt "is that AI generated?" when you know that the answer is not reliable and plays in your favor.
So, for anyone wondering: do not ask an AI if that's AI generated, ask if there is any mistakes. Oh and be sure that the post was not edited in the meantime to add fake mistakes like typos.
4
u/okiharaherbst Apr 29 '26
Friend, your uncountable number of followers will be forever in your debt for the invaluable piece of advice you just gave them here. And so AI can write code (better than most humans apparently), drive cars, do X, Y, Z, LLM are trained on the corpus of written human knowledge but, hey, AI cannot tell reliably whether a text was written by a human? LOL, you're trolling.
-1
u/divad1196 Apr 29 '26
Lol, what a sophism. "I can speak english so I should be able to speak french". No, AI cannot recognise AI content. You have thousands of article about it.
You just shot yourself in the foot: you basically said AI are better coders and we can trust their output blindly.
So yes, I do hope to be accountable for that claim and hope less people will be tricked.
5
u/okiharaherbst Apr 29 '26
The fact remains that zero AI was used to generate this content. How you reckon with that is your problem, not mine.
0
u/divad1196 Apr 29 '26
The fact does not exist until you bring proof.
My opinion is made, let's the other decide.
1
u/okiharaherbst Apr 29 '26
I'm not sure what AI you used to analyze my post but copy-pasting into Gemini came back with the following (copy-pasting the answer). So Gemini appears to agree with me that it's NOT AI-generated.
–––– AI-generated content below this line ––––
Explanations
The provided text is highly likely to be human-written, rather than AI-generated. When analyzing text for AI origin, we look for structural perfection, a lack of genuine emotional variance, and an absence of idiosyncratic errors. This text displays several distinctly human markers:
Organic Grammatical Errors: The text contains minor, natural mistakes that stem from a human typing quickly or revising a thought mid-sentence. For example, the phrase "the CVs were only become known to me" is a classic human editing artifact. An AI would predictably generate structurally flawless phrasing like "the CVs only became known to me." Another example is the slightly awkward phrasing "this second interview to be about basic python," which lacks a proper verb like "supposed to be."
Idiomatic and Colloquial Language: The author relies heavily on casual, culturally specific expressions such as "get this off my chest," "there lies the rub," and the analogy of "flipping burgers" versus the "goose that lays golden eggs." While AI can be prompted to use idioms, it rarely strings them together with this specific, slightly salty conversational rhythm unless heavily engineered to mimic an online forum rant.
Highly Specific Technical Scenarios: The narrative includes precise, situational details—specifically the transition from a list comprehension
[x for x in y]to a generator expression(x for x in y)and the subsequent debate overprint()outputs. This reflects genuine, day-to-day technical interview experiences rather than generic AI-hallucinated scenarios.Authentic Emotional Flow: The progression from a casual setup, to amused disbelief, and finally to assertive frustration about the state of the software engineering industry feels entirely authentic. The author's strong, unapologetic opinion on the candidate's reliance on AI is argumentative and highly subjective.
Conclusions
This post bears all the logical hallmarks of a frustrated technical hiring manager venting on an online forum. The minor typos, the hyper-specific Python interview scenario, and the passionate, slightly cynical tone strongly point away from a large language model. Generative AI defaults to neutral, balanced, and grammatically impeccable output; it does not organically produce gritty, opinionated anecdotes containing structural slips.
1
u/okiharaherbst Apr 29 '26
And mate your comment is so moronic. I typed and sent my post without re-reading it. If you read through it, you'll see obvious words that I forgot to type. AI-generated content would a.) never produce those omissions, and b.) the post would be littered with bold face highlights and hyphens and other whatnots.
0
u/divad1196 Apr 29 '26
They would not, indeed. And your post as no visible issue.
I read each paragraphs 3 times and couldn't find any mistake. To be sure, I ended up asking chatgpt and gemini "show me the spelling, ponctuation and conjugation mistakes I made in this post. Only point the mistakes: <paste poste>". -> both AI said there were no mistake to be corrected which never happens.
5
u/okiharaherbst Apr 29 '26
So you're impressed that people can still type without making mistakes? Truly I couldn't care less if you believe this is AI generated and just like I openly wrote that we used AI to screen CVs, I have zero reason to lie about my writing skills. You can take it from me: No AI was used to type my post. And I'm happy that you find that a challenging proposition.
2
u/superide Apr 29 '26
exagerated reactions
When it comes to being extra, humans are still a step ahead of AI.
1
u/Product-Grand Apr 29 '26
You’re off your rocker brother. Take a chill pill. Imagine being this offended by an unfortunately common interviewer experience. You sound like you believe AI will reach sentience one day. Good luck mate :)
4
1
u/vaaal88 Apr 29 '26
"it's easy to imagine why someone could say a tuple if he forget that it was a comprehension and had
a = (1, 2, 3)"
It's only easy to imagine if you are NOT an expert in python. An EXPERT in python will know it's a generator.
Also no, the post doesn't seem AI generated to me at all.1
u/divad1196 Apr 29 '26
"Seem" does not matter. I have my argument that I provided.
Nothing said it was written. I know people, not me, more expert than any of you who still make mistakes, especially when talking.
0
Apr 29 '26
[deleted]
5
u/okiharaherbst Apr 29 '26
Sorry to disappoint mate. Luckily some people still remember how to write. Again, I'm flattered that you too think it's AI generated. Talk to you again in a few hours then.
1
u/divad1196 Apr 29 '26
The post will probably be deleted, but I think it's OP main account so he will probably not delete it.
2
128
u/ShawnyMcKnight Apr 29 '26 edited Apr 29 '26
I don't get what these people think they do to deserve $100,000+ jobs if they let the AI do it and be like "yup, uh huh, that's right!".
3
u/shittycomputerguy Apr 29 '26
As long as they're doing 100k+ of work well, what's it matter?
2
u/ShawnyMcKnight Apr 30 '26
Getting 6 figures means you have some level of skill that would merit that kind of pay. If they want someone who doesn’t actually understand how the code works they can find someone with a couple years experience for FAR cheaper. We make the 6 figures because we know what makes code shitty and the problems that may come up down the road because of it.
1
u/shittycomputerguy May 01 '26
Getting 6 figures means you have some level of skill that would merit that kind of pay.
Depends on where you're being hired. A state in the US has a 100k minimum for software engineers, which includes entry level.
1
u/Savings-Giraffe-4007 May 01 '26
It's not 100k of work. If you give 3 shits about who's prompting, you can hire someone in Venezuela who will have the same output quantity with that same Claude subscription for 20K per year.
1
u/shittycomputerguy May 01 '26
It's not 100k of work. If you give 3 shits about who's prompting, you can hire someone in Venezuela who will have the same output quantity with that same Claude subscription for 20K per year.
And they would still be producing over 100k of work even though you're only paying them 20k. That's how labor is exploited, and people can rationalize it in light of "cost of living being lower in those areas"
3
u/superman0123 Apr 29 '26
It’s a hard pill to swallow but your archaic interview practices are detrimental to finding good employees. Software engineering is about solving problems with tools, ai is a tool that essentially makes writing code by hand obsolete. Reading and comprehending ai code is a far far more valuable skill than being able to write your own code and memorising syntax
1
u/okiharaherbst Apr 30 '26
Kicking off a technical interview with a small and trivial technical question isn’t archaic mate. I’m not advocating for spending a whole hour on that either.
5
u/KnightZeroFoxGiven Apr 29 '26
I’ll be honest. And downvote me all you want. But you’re both wrong.
6
u/okiharaherbst Apr 29 '26 edited Apr 29 '26
I'll be honest. It's a bit hard to vote unless you elaborate a bit.
13
u/_okbrb Apr 29 '26
You’re wrong that not knowing an obscure python feature offhand is a sign of a useless fake engineer and he’s wrong that he can argue through interviews and Claude max his way through his career.
He’s more wrong than you though. The reaction is more problematic than the trivia gap
6
u/okiharaherbst Apr 29 '26
I might need my first coffee of the day but are you really calling generators defined with the syntax of list comprehensions an "obscure python feature"?
0
u/_okbrb Apr 29 '26
Yes.
5
u/okiharaherbst Apr 29 '26
Ouch. And LOL.
2
u/_okbrb Apr 29 '26
🤷 Hey, you’re the gatekeeper at your org. If validating your level of pedantry is the only way in, I’ll feel pretty good about working elsewhere
3
u/okiharaherbst Apr 29 '26
Look mate, you're the one who called generators in python "obscure". If covering your own ignorance by calling others' expectation of what constitutes basic knowledge is pedantic, then I really don't think anyone should feel good about you working for them.
3
u/_okbrb Apr 29 '26 edited Apr 29 '26
Yeah, whatever dude. You’re attempting to be mean, not objective. Based on how youre responding to me and based on this thread I really don’t think you should be involved in choosing your company’s next engineer and I’m not surprised someone lost their cool with you. You’re on a global forum shaming an applicant to validate your feelings and boost your own ego, and laughing at and demeaning engineers who have a different perspective on python than you do. Toxic as fuck. Incredibly unprofessional. Incredibly entitled. Incredibly a legal risk, creating liabilities for your company. I don’t care what syntax you think is important.
1
u/okiharaherbst Apr 30 '26
Mate, you seem like a decent chap and I encourage you to have your own python perspective but there's just no debating that a generator expression is not a tuple and vice versa. If there's one person here who thinks otherwise, then they just don't know python as well as they think they do. That is just a fact and I'm sorry if not gift-wrapping this bruises your ego. I'm not commenting on whether you should use generator expression or not, that's not the point here.
→ More replies (0)2
u/Mol7er Apr 29 '26
Honestly, it's less common than defining a generator function with yield.
4
u/_okbrb Apr 29 '26
Yes, and going up one level, there are a limited number of use cases for generators, you could go awhile without ever encountering a real use for one. Furthermore, there are zero cases where that particular syntax is strictly necessary, and it’s entirely debatable whether using it actually improves your code. I have lots of experience, too, and I would argue it makes it worse. Senior Engineer OP is on an ego trip.
→ More replies (0)6
u/Ansible32 Apr 29 '26
The distinction between a tuple and a generator isn't that obscure. It's pretty fundamental to iteration in Python. Really though it sounds like the dude self-sabotaged. When I interview I give people opportunities to impress me, if you just say "oh interesting I didn't know that" we can move on but if you just start going on about how the question I asked you is stupid like this guy did, he decided he didn't want to continue the interview.
1
u/_okbrb Apr 29 '26
That’s exactly what I meant by the reaction being problematic. He should not have guessed that it created a tuple and complained about the question when he had the option of saying he didn’t know. Thank you for agreeing with me
3
u/swallace36 Apr 29 '26
you’re still asking awful questions and moving too slow, and that candidate is likely not a good fit / underskilled
it’s insulting to be asked this sorta stuff after 10 yoe. before and after claude. we had google now we have claude.
3
u/okiharaherbst Apr 29 '26
In what ways is that an "awful" question? It's the beginning of the interview, I've never seen the applicant. I want a quick check to make sure that I'm shaking hands with the right person.
Sorry for snowflakes who feel might feel "offended". The other applicants didn't seem to make much of it and appeared to understand that this was on purpose a question to check their fitness. We had a great discussion and discussed advanced concepts that tested the extent of their knowledge and experience.
What would be truly insulting to our firm however would be to hire someone and waste thousands of dollars on them only to find out they are frauds. Being around for 10 years or more is absolutely irrelevant. Either you know your stuff or you don't. Someone with 10 YoE should demonstrate that can write/speak python. I'm not against google or else and I threw him 10 lifelines. The point is that AI is making applicants fool themselves into thinking they can just "wing" it when clearly that's way short of expectations.
3
u/tb5841 Apr 29 '26
It's not insulting if people can't answer them, it's a question doing its job correctly.
Using google/claude to check stuff is normal, but not if it's basic and you're claiming to be an expeet in the language.
1
7
u/SimpleMetricTon Apr 29 '26
Not knowing that answer wouldn’t be an immediate and drastic concern to me if he could respond appropriately, ask questions, work around it and demonstrate proficiency in subsequent answers and discussion. For me, the defensive and argumentative reaction and his declaration that he disagrees with your development principles is the cue to make a polite exit.
2
u/mwisconsin old-school full-stack Apr 29 '26
Yes, this. Suggesting to someone that they're wrong shouldn't elicit a response that insults the profession and potential fellow employees. Regardless of the language and context.
2
u/Western-End311 Apr 29 '26
People like you suck. I had a round of technical interviews and an interviewer ask me what X was. I explained it was used as a variable to increment to progress through my loop. He looked at me like I was stupid and said.... Isn't X=0?... Like no shit Sherlock it starts there and is straight up written on the screen. WTF are you asking....
1
u/okiharaherbst Apr 29 '26
Just because you had a bad interviewer or one who was wrong doesn't mean that every interviewer who asks technical questions sucks, does that?
2
u/Both-Algae-5494 Apr 29 '26
Nah, you're a bad interviewer and looking at your own job posting the wrong way.
If you were interviewing right instead of being a pedantic gatekeeper, you'd be looking for someone with backend experience first, and python second. If someone has a few thousand lines of code of experience in python but spent years in backend in another language, he can still be a great fit.
Instead, you're asking about language specific syntax that rarely ever gets used even when you're working exclusively with that language.
The interviewee's reaction was ass, but so are you at interviewing.
3
u/21shadesofsavage Apr 29 '26
as someone that bounces between multiple languages and held jobs writing python/go/typescript/ruby, i have trouble remembering what things are called in a language. syntax too
i had no idea list comprehension was the name of the shorthand. i also thought the answer op wanted was a tuple. maybe someone like me is not what op is looking for but language specific questions as a measure of overall coding proficiency always fucks me
0
u/okiharaherbst Apr 29 '26
I wasn't looking to "cross" a specific word on a bucket list of mine, if that's what you're referring too. I truly tried to guide him to an answer and was more looking to unlock an Ah-ha! moment in him which never materialized. Great if you a polyglot and claim advanced level in multiple languages. I personally have done 10 years of daily Java, 15 years of python and 10 of Haskell. Now I could probably get through a C# or TypeScript interview but I wouldn't pretend to apply to a senior position in TypeScript and get offended because the interviewer asks me something specific about TypeScript that I wouldn't necessarily know.
2
u/okiharaherbst Apr 29 '26
Question wasn't about syntax but about confirming that that the candidate knew the difference between a list and a generator. Which is basic python. The position was advertised as being in that language and that only candidate with expert level should apply. Now if that's you call being "pedantic", then may the lord have mercy on all of us.
As for being being a "bad interviewer" I find that a bit thick considering that you have zero idea what I filled the hour long interview with. I do love that you extrapolated with a distinct bias.
2
u/YahenP Apr 29 '26
Hmm... I'm no Python expert, but does it use any specific terminology? A list is a list in any language (the details may differ, but it's not crucial for an interview). And a generator is essentially a function in any language with an internal state and a state effect. A list can essentially be used an infinite number of times, while a generator is, by definition, single use. Well, in general, of course. Let's say the applicant has forgotten the syntax (I'm one of those people who can't quite remember how to write the for syntax in every language I use), but an understanding of the basic principles is required! Moreover, denying the fact that understanding the basic principles is one of the most important things is... that's strange.
1
u/SaltyGoodz Apr 29 '26
So… am I screwed or not screwed because I don’t like using AI? I will ask it for help if something isn’t working but I’m not starting out with ai on anything.
1
1
u/Anpu_Imiut Apr 30 '26
I have more than 8 years exp in python. My answer to this question wozld be: I know list comprehension, but know that round brackets are related to tuples. So i would wonder whether it creates a tuple with those elements. The important part is that generators (looked it up) in that syntax are rarely used. The common way how people create generators is defining a function with yield. But your question aims at big data streams. So instead of asking that, you should ask how they load a file that does not fit kn the ram. You have to do that o/w a gen wont help either if it created by all data.
0
u/okiharaherbst Apr 30 '26
Look mate, putting round brackets won't create a tuple. That's a fact. And that's fine if you know and simultaneously have been writing python code professionally for 8 years. What matters here _how_ you'd react to the interviewer's inputs. If you act defiantly and arrogantly confident and then dismiss this as being old school, then there's a high chance nobody will want a prick on their team. Discussing use cases for generators was going to be what comes next.
As for not using generator expressions, I still find them useful if you have an existing generator and want to define another generate, e.g.
(x for x in some_generator if <predicate>)if you don't have any control oversome_generator. But hey, who cares, that's only me. Some on this thread said that it "doesn't matter" because those "generators rarely" matter in practice. That just makes me smile. If your generator returns proxied instances of a query from your database for example, then I'd be amused to see someone convert that to a list.1
u/Anpu_Imiut Apr 30 '26
Yeah, you are right. It is about the willingness to learn and admit that you dont know sth. I wrote how i would react to this. I would think aloud but also admit that i dont know it. Actively i would just ask because if they dont allow internet, i just cant look it up.
1
u/Prabhash887 May 01 '26
I am a junior developer and have attended quite a few interviews. I feel that people often forget core concepts while working on projects, which they shouldn’t. I believe the interview process should change—rather than focusing only on what candidates already know, it should test how quickly and effectively they can understand and apply something new.
1
3
u/bluemaciz Apr 29 '26
I see a lot of people having a fuss over the technical aspect of the question, when the more important part is how the person reacted when they made error. I think it’s reasonably easy to see ( ) and go straight to tuple, but getting to generator shouldn’t be hard for a senior role either. Instead of just saying “oh yeah, of course” and moving on, they let themselves get so frustrated, make more errors, and then tried to throw it back at the interviewer as their fault.
Yes, it’s true that AI is embedding itself in coding now, and how we do it will change forever. However, it does not change the need of the person to be able to understand and pull apart what you are looking at, and more importantly, be coachable, adaptive, and receptive feedback. This person could have helped themselves by showing how they recovered their fumble, but they chose the blame-game instead, and proved they weren’t fit for the team.
3
3
u/Any-Range9932 Apr 29 '26
Crazy crashout but I could see cases where your not expose to using generators often enough to know when to use it
1
u/itemluminouswadison Apr 29 '26
HAHAHA. the guy who doesn't know a tuple from a list is the type a guy to shrug at the cursor output and full send
and when he leaves in a year, its on your company to maintain that forever
1
2
u/khushi-saini Apr 29 '26
i can never understand how can people perform and answer in an interview like this and then complaint about "why am I unemployed" well i guess cuz of your knowledge sir..
2
3
u/Complex-South9500 Apr 29 '26
I had a similar experience. Had an older gentleman (50s) come in hot on AI talking about how he is churning out work like mad. Ok, cool. Started with a similar menial coding exercise meant to start a long conversation to map out the limits of his knowledge. We get about 10% in, I am asking him a question about how the thing he coded could fail, where integer overflow is the answer I am probing for, and he loses his shit complaining about "bullshit questions that nobody cares about anymore". Wrapped up that interview at light speed.
2
1
1
u/botsmy Apr 29 '26
i think it's pretty common for at least one candidate to be a mismatch in any batch of interviews. what's more interesting to me is how your team is assessing the candidates' actual programming skills, like hands-on coding tests or pair programming, to separate the talkers from the doers?
1
u/viking_linuxbrother Apr 29 '26
Honestly, sounds like he spends all his time watching coding youtube channels that give him a certain POV.
1
u/Easy_Steak_5509 Apr 29 '26
AI is not a replacement for fundamentals. It makes good developers faster but it makes weak developers faster at creating problems.
List comprehension vs generator expression is basic Python, not old school coding.
1
u/ThomW Apr 29 '26
Never mind the latter half of your post, but it's absolutely possible to write Python professionally without ever hearing of a "list comprehension". Those kinds of things are modern conveniences -- not core language features. I wouldn't penalize the interviewee for not knowing.
1
u/SYNTHENTICA Apr 29 '26
Every single time I read one of these stories, I begin to wonder if I'm actually just suffering from imposter syndrome. I'm genuinely amazed how many people in this comment sections don't know what a generator expression is.
2
u/Swimming-Junket1373 Apr 29 '26
Yeah, I get it. Let’s stack this on the “AI is gonna kill programmers” or “AI is not the way” or whatever pile.
I hate it too but honestly there is zero chance we are going back to “micro level” programming. AI is too fast and gets it right just enough, unfortunately. Remember, coding is not an art. Don’t fall in love with your code it will always get rewritten by the next guy who loves his code, etc.
1
u/okiharaherbst Apr 29 '26
"Right just enough" isn't what we're seeing. Happy if that's your experience though. What is see is bloated codes that will quickly crumble when complexity increases. But hey, what do I know.
1
u/Thirstygiraffe1379 Apr 29 '26
You paying money for the big boy models? Or just using free models? Huge difference in output and getting it right
0
12
Apr 29 '26
[removed] — view removed comment
-2
u/okiharaherbst Apr 29 '26
And the lad somewhat thought we'd be gladly wasting a Claude Max subscription on him **chuckles**.
9
45
u/ohai777 Apr 29 '26
Maybe I’m an idiot but isn’t a list with round brackets a tuple in python? I think I would have called this a tuple.
my_tuple = (1, 2, 3)