this post was submitted on 14 Apr 2024
58 points (95.3% liked)

Memes @ Reddthat

1201 readers
1 users here now

The Memes community. Where Memes matter the most.

We abide by Reddthat's Instance Rules & the Lemmy Code of Conduct. By interacting here you agree to these terms.

Rules

founded 2 years ago
MODERATORS
 
all 12 comments
sorted by: hot top controversial new old

"it has logic errors too" was my very favorite story

Damn, I took a C class about 20 years ago, and other than that I've done various little bash scripts for myself over the decades, and I'm pretty sure I would do better than those people.

[–] Lucien@hexbear.net 6 points 1 year ago

That read made me feel better about myself, thank you for that. The imposter syndrome demon tries to pester us all from time to time.

[–] TootSweet@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (3 children)

Question: Assuming you have two integers, x and y, with y bigger than x. Sum all the numbers from x to y.

Geordi La Forge Drake meme. Geordi makes a disgusted gesture at the solution that iterates to solve the problem and prefers the O(1) solution int sum = (y*(y+1) - x*(x-1))/2;.

The imprecision of the question itself bugs me, but I think the Geordi meme above has it right for the most reasonable reading of the question text.

Edit: Weird. On Jerboa, for me, this post has the image three times. On Lemmy-UI, only one. On both, the source text of the post is the same and doesn't appear to ahve any duplication. Weird Jerboa bug, I guess.

[–] SmoothLiquidation@lemmy.world 4 points 1 year ago

Usually interview questions are designed to be imprecise. It is a great way to see how the candidate handles it. Do they ask follow-up questions? Or do they just assume the details?

[–] fidodo@lemmy.world 2 points 1 year ago

I'd be perfectly happy for a candidate to do the second answer

[–] TrickDacy@lemmy.world 3 points 1 year ago

Hiring has been so broken at the companies I've worked at. A lot of my coworkers decided code tests are bad, I think because it makes them uncomfortable to watch a candidate squirm. It makes me uncomfortable too, and live coding is stressful. But It also tells you a lot about their thinking.

Each company I worked for who eschewed code tests hired exceptionally bad programmers at times. I'm dealing with that right now. Sometimes I feel like I am going crazy because my coworkers tend not to notice how poorly these new folks interviewed or perform on the job. I was always the hardest interviewer and I honestly felt I went easy on people 90% of the time.

Most of our interviews weren't as awful as these in the post but once we video chatted with a guy who was clearly googling and reading answers to us. You could see the reflection of his monitor in his glasses. It was hilarious but painful AF at the same time.

[–] keepcarrot@hexbear.net 3 points 1 year ago

Like, I'm not a good coder and struggle to get a job but uh...