"it has logic errors too" was my very favorite story
Memes @ Reddthat
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
- No NSFW content
- No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
- Be respectful, especially when disagreeing. Everyone should feel welcome here.
- No porn.
- No Ads / Spamming.
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.
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.
Question: Assuming you have two integers, x and y, with y bigger than x. Sum all the numbers from x to y.
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.
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?
I'd be perfectly happy for a candidate to do the second answer
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.
Like, I'm not a good coder and struggle to get a job but uh...