Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

blind3rdeye ,

I don't believe these are genuine interview answers.

RubberElectrons ,
@RubberElectrons@lemmy.world avatar

I hope not...

tallricefarmer ,
@tallricefarmer@sopuli.xyz avatar

They do seem to be a bit absurd. I had a nice chuckle though.

letsgo ,

The previous candidate to me at a job a few years ago left the room in tears after not being able to write Fizzbuzz. On a laptop with Visual Studio installed, on their own in a an empty room with nobody looking over their shoulders. The same company said they'd had so many candidate, including university graduates, who simply couldn't code, that they were almost giving up on it.

ICastFist ,
@ICastFist@programming.dev avatar

Suddenly I feel like a fucking accomplished programmer, despite only doing some questionable stuff on Godot lately, but never messing up my loops... Not too badly anymore, anyway.

A fizzbuzz type of question I know I would mess up on the modulo operator. I know the logic is if the division of the current_number by 3 has a remainder of zero, write fizz, but I always look up the operator

letsgo ,

Yeah it always feels like "negative logic" to me. If it's not this and not that then don't do the other... Does my head in. Next time I'm going to use a lookup table "x..f.bf..fb.f.." then mod15 the index. f=Fizz, b=Buzz, x=both. Nice thing about this is that it's easier to change with the requirements. Want to shift the second fizz right one? No problem "x..f.b.f.fb.f..". Good luck doing that with the standard approach. Add Gronk which collides with Fizz, Buzz or both at various times? Also no problem - just extend and modify the LUT accordingly and change the mod.

I can already hear people asking why x is at the start. Arrays are indexed from 0. FizzBuzz starts at 1. 15 mod 15 is zero. Loop N from 1-100, switch on lookup[N%15], case 'f' print Fizz, case 'g' print Gronk, case 'p' print FizzGronk and so on. The only "nice" original feature you lose is when both %3 and %5 fire at the same time and it prints FizzBuzz without any extra code.

gjoel ,

Same, fizzbuzz was one of our tests. Nearly everyone messed it up. The telling part was how. We had a guy with 20 years of experience who demanded ample compensation write code that not only didn't compile, but it made little sense. A lot of people were pretty good bullshitters - then after the test they went "Yeah, well... That went bad huh?". We had a different, more difficult test that people could choose. We had one guy who did somewhat poorly on that... But asked to take the assignment home for his own sake. He was a very god hire. Not because he worked overtime or anything but because he cared.

onlinepersona ,

I knew a dude who got a job for a programming language he never wrote. Not only that, the guy was hired to be the experienced / lead programmer to give guidance on how to use the language. In fact, I knew multiple people like this. Some were actual programmers and good at other programming languages, but some had decided it was time to switch from another field (geology, marketing, database engineer, ...).

It's still puzzling how they got their jobs.

Anti Commercial-AI license

dejected_warp_core ,

Sometimes, aptitude and an ability to learn and grow is more valuable than having specific technology knowledge. It suggests a more generalist take on one's career, which means they are always going to be useful. There's also something to be said for "soft skills" and a person's overall attitude. All this can make the balance for a lack of technical experience, provided they have demonstrated talent an ability to close such gaps.

Other times, the whole hiring process is just completely broken. Your friend may have had to contend with co-workers that were utterly incapable at their jobs.

uis ,
@uis@lemm.ee avatar

Marketing... How?

ICastFist ,
@ICastFist@programming.dev avatar

Through good marketing, aka bullshitting their way all along

Sotuanduso ,
@Sotuanduso@lemm.ee avatar

"I am trying to test your programming skills, not your Google-search skills."

slazer2au ,

But they are the same thing.

Thcdenton ,

I feel fortunate that the image is fried and I can't read it.

AMDIsOurLord ,

If your client has an HD picture button (like Boost) you need to click it to actually receive the proper image

TowardsTheFuture ,

As someone who teachers high school freshmen computer science this pains me as most of my freshmen could do all of these.

KingOfTheCouch ,

Holy fuck that last one was literally me in my first interview fresh out of college. Full on panic attack.

_thebrain_ ,

Not one person in the comments has attempted to answer any of the questions either.

themusicman ,

Haha good try. Hope your interview goes well

basdiljhs ,

for(var i=0;i<=100;i++){
if((i%2)==1)
console.log(i);
}

btw % is the modulo operator,
x%y returns the remainder of division of x by y

moog ,

Thank you holy shit I was beginning to think no one has ever seen a fizz buzz before

LostXOR ,

Slightly simpler, start at 1 and increment by 2 so you don't have to check whether i is odd.

for (var i = 1; i < 100; i += 2) {
  console.log(i);
}
jeena ,
@jeena@jemmy.jeena.net avatar

Strictly speaking this one does not find the odd numbers, it just prints them.

Goun ,

for (i%1=0; i+2; int) odd++;
cout(3)

Bolt ,

(0..=100).filter(|n| n % 2 == 1).for_each(|n| println!("{n}"))

ICastFist ,
@ICastFist@programming.dev avatar

Will you give me the position if I answer the problems? 😀

_thebrain_ ,

Sure! I'll hire you without even answering the questions. Of course I'm not the op, I dont work in the it field (any more) and none of my open positions involve programming... But you have a job with my company whenever you need one.

SomeBoyo ,

Are remote interviews still viable in the days of gpt?

lurch ,

in the company, i'm employed in, yes. it allows to hire people far off for remote work.

OsrsNeedsF2P ,

The last interviews I wrote the job posting for and conducted, I made it clear we give you a GPT4 subscription for the job so I expect you to demonstrate your ability to use it as a tool during the interview

bamboo ,

Clearly yes, as this post outlines, these candidates weren't smart enough to use ChatGPT

phoenixz ,

Ooohhh, OP is shitting on PHP, how very original!

Maybe next time, though, OP should read what OP posts before OO writes a title, as the content has nothing to do with PHP, its all sorts of languages (none of which PHP) and mostly javascript.

The content is pretty on point in general though, I've had the unfortunate luck of having dozens of developer candidates like that.

uis ,
@uis@lemm.ee avatar

I don't see shitting on PHP by OP.

Also PHP is shit. Just so you won't be disappointed.

phoenixz ,

Then read the title.

And oohh yeah, PHP sucks because everyone else says so and a blog post of 20 years ago said so too? That literally was the last argument I heard against PHP.

It's becoming tiresome

uis ,
@uis@lemm.ee avatar

I think we read different titles. Mine doesn't shit on PHP.

phoenixz ,

Mine reads "code interviews for a php developer role", which with the image implies that all php developers are incompetent because they use PHP.

Asudox ,
@Asudox@lemmy.world avatar

"Y'all wanted good documentation, no?"

possiblylinux127 ,
@possiblylinux127@lemmy.zip avatar

This is a little different than the in person "draw me a solution on the whiteboard" approach

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines