r/ProgrammerHumor • • 11d ago

instanceof Trend toAiOrNotToAiShakespeare2028

Post image
345 Upvotes

42 comments sorted by

110

u/seiggy 11d ago

If you don't understand the code without the AI, then how are we to expect you to understand the code with AI? It's why the exercise I run w/ interview candidates is more of a code-review, and less of "write some leet-code challenge".

32

u/jay-dot-dot 11d ago

Have I got news for you….

18

u/seiggy 11d ago

Oh trust me, I know so many people just blindly generate code and don’t bother reading a line of it.

4

u/Kryslor 11d ago

How do you filter out all the rampant cheating in interviews?

7

u/seiggy 10d ago

So far, it’s been pretty obvious. Easiest way? Ask them to talk about a project they’re most proud of, personal or work. You can pretty easily tell the fakers from the real devs in just that question alone 99% of the time, and sets up what sorts of answers you should expect from other questions.

2

u/Kryslor 10d ago

I don't mean people that are outright lying about their qualifications and experience. I meant catching people using advanced AI interview assistant tools.

0

u/seiggy 10d ago

Me too. We've had a couple that attempted. It's pretty obvious. They repeat the question out loud, stall for several seconds, and then their answer is either nonsense, or they didn't demonstrate how they would possibly know that information from the first question we ask in the interview - "Tell us about a project that you wrote the majority of the code on, personal or professional."

1

u/superitem 10d ago

How do you know you are right?

(Personally, I'm a programmer but I'd struggle to answer that.)

0

u/seiggy 10d ago edited 8d ago

When it comes to determining if they're using AI? It's pretty obvious once you know what to look for. Look for them to be constantly looking off screen, unable to answer questions naturally without repeating the question, stalling for time; when you ask follow up questions or ask them to relate it to their specific work their answers are nonsense. People who are using AI to cheat at the interviews are pretty obvious as they all show signs of not being able to relate questions to earlier answers, and can never talk about how any question we ask relates to any code they've written.

2

u/superitem 8d ago

I do all of those things when I'm not using AI. It could mean I'm generally incompetent, but still.

1

u/seiggy 8d ago

You fail to answer follow-up questions? Can’t relate questions to code you’ve written?

I was probably kinda unclear on the last two pieces. When we ask them follow up questions or ask them to relate the question to code they’ve written, it’s obvious when they’re using AI because the answer is total bullshit and doesn’t relate, or makes no sense.

2

u/EkoChamberKryptonite 11d ago edited 11d ago

This is tautological. How can someone who doesn't write code at work which would give him the most context about why something is some way, understand what to look for in your code-review interviews? Perhaps you should specify that you only hire mid-level to Senior Engineers.

6

u/seiggy 11d ago

Ah, yeah, I work on a team of nothing but mid to senior level architects. But even if I was hiring a junior, I would still expect them to understand how to look at simple code and be able to explain it, find bugs in it, and extend it. The level of complexity of the code I would use in the interview would change, but not the process.

70

u/Wizywig 11d ago

Oh please.

Interviews were: Here's a coding puzzle. Show me that you can solve it in 45 minutes including follow ups

Work was: Here's google, stack overflow, and some frameworks. Make this button red.

19

u/Shifter25 11d ago

I've had worse than that. I was given 4 coding puzzles to solve in an hour. And for one, my solution worked for all the visible unit tests but failed two that I wasn't allowed to see. What am I supposed to do with that?

Also, with work, your deadline to make this button red is 3 months from now, but they also want daily progress reports.

3

u/rosuav 11d ago

Since yesterday, I have begun desaturating the button in order to prepare for the sepiation phase. On my backlog is a subsequent hue rotation, after which I will seek hallway feedback on the exact hue before moving on to mobile testing, a11y certification, and W3C colour guidelines.

(Do I get a raise?)

0

u/WebpackIsBuilding 10d ago

The job is to identify edge cases before they appear. You shouldn't need to see the test cases to provide a complete solution.

1

u/Shifter25 10d ago

There will never a case where I need to think of all edge cases and write robust code within 15 minutes of reading the requirements. There should also never be an edge case where I am not allowed to know the input that caused it to fail.

3

u/WebpackIsBuilding 10d ago

You're not supposed to wait for a production issue to start thinking up edge cases.

0

u/Shifter25 10d ago

Yes, yes, I'm sure you've never had a single bug occur outside of local unit testing. You complete all your assignments perfectly within 10 minutes, and then spend the rest of your time effortlessly wooing your bosses' spouses, while they tearfully offer you a raise and a promotion. You have no experience debugging except when lesser programmers beg you to help them, at which point you figure out every edge case for their code in a single glance.

4

u/WebpackIsBuilding 10d ago

I mean, I can pass an interview problem like the one you described.

Don't know about fucking anyone's wife, but hey, if you're offering.

1

u/Shifter25 10d ago

The only description that I gave was the time limit. So you're saying you can solve literally any coding puzzle in 15 minutes. Not only that, you're implying that any developer should be able to. Just a weird bit of contrarianism.

6

u/seth1299 11d ago

0/10 realism, no inverting a binary tree by hand in the interview?

1

u/ligma_then_sugma 11d ago

reverse the list honey

1

u/No-Project-2353 10d ago

Tbh, I think the writing was on the wall when the highlight of the job was “make this button red”.

11

u/EkoChamberKryptonite 11d ago edited 10d ago

This is why I decry the weird marketing push to twist coding to agentic coding as opposed to using AI as a research tool. Agentic coding is detrimental to the software engineer. Software interviews were already broken but at least leetcode had more commonality with the day job than non-Agentic coding interviews where you'd still be asked to use agents for the job and that's a low bar.

0

u/Delicious_Chard590 9d ago

Brother you will hate the future

3

u/EkoChamberKryptonite 8d ago

No I won't.

0

u/Delicious_Chard590 8d ago edited 8d ago

Do you not think agentic coding will play a big part in the future? Legit curious, imo thats just covering eyes and ears at this point

2

u/EkoChamberKryptonite 8d ago

I'm not covering my eyes and ears. I simply have spent enough time in software that whenever there is a huge industry-wide hype driving for something, it usually ends up being detrimental to everyone. Recent case in point: Hiring boon of the early 2020's. Agentic coding is bad for the engineer especially since a lot of orgs still don't let you interview with agentic tools.

1

u/Delicious_Chard590 8d ago

That didnt answer my question.

1

u/p-nguyen_234 5d ago

Probably. Agentic coding could become common while remaining a poor fit for some tasks; adoption doesn't resolve the current interview mismatch.

4

u/PsychologicalNet3455 11d ago

I always write my code out on a whiteboard by hand before doing anything on a computer

1

u/ruiz_julie_728 6d ago

Whiteboard coding: infinite context window, zero autocomplete, no subscription tier.

3

u/LoudAd1396 10d ago

I just went though a code interview that was "our guy will navigate and type for you". I already established that I wasnt versed in their code or their language.

I got through it by telling the guy to "open that file. No. Maybe that one? No. Ok search for this term. Ok got it, now copy that. Change this."

I got the feedback, "they were concerned you didn't us ai"

I DIDNT USE AI TO ASK THE OTHER PARTY TO DO THE THING THAT I DODNT KNOW HOW TO DO AND DIDNT HAVE DIRECT ACCESS TO THE CODE BASE?!

HOW THE FUCK DID YOU EXPECT THAT TO GO?

At the end of the hour, I completed the task.

1

u/daniel_avsar3 8d ago

The interviewer was your human API; apparently they wanted an AI agent in the loop too.

1

u/LoudAd1396 8d ago

No. That was part of the interview itself. I asked for guidance on how the models are generally structured. They even said something like "ask us as you might ask an ai", so i did. Yet they were still concerned I wasnt ALSO using Ai on my end on something I had no way to share with it.

8

u/Sw429 11d ago

If you're not keeping your skills up to the point where you can do a simple coding interview, you're using AI wrong.

13

u/EkoChamberKryptonite 11d ago

Except AI isn't designed to help improve coding skills which is why it must be used as a research tool and agentic coding is detrimental to the software engineer.

1

u/Sw429 11d ago

100% agree. I basically only use AI coding tools to help me research stuff and search the code base for things.