Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
What was he supposed to do? Figure out what the function does through its name and modify the code? Or, a lot easier, add a "return false" at the end?
-
Arro2507y"literally no words"
You're hired.
Time efficient, followed instructions perfectly, delivered requested result in working format, cleaned up all unnecessary code. I fail to see the problem here. -
Yeah unfortantly he did not get the job. The function was a even or odd number even = true odd = false all he had to do was pass a odd number in. Very basic.
He didn't get the job due to his fuck-you personality but this is something ill remeber for awhile. -
@Alpham0use too bad about his attitude but wished workplaces hired him for his creativity -- he technically wasn't wrong 😂
-
Djanjo4497y@Alpham0use
What kind of job needs someone to just return false? Did you interview him for a coffee maker position? -
mihirkh1427y@Djanjo Once in my previous office, I took up the job of an office boy for a day. I would go to tables to pickup other people's used coffee cups, and pass comments on their code, asking them to extract that variable/method or rename it or write a test for it. Freaked people out.
-
mang4277y"Make the function return false" kinda implies that it should always return false, so joke's on you 🤺
-
pfish2697y@Alpham0use Using odd numbers as a parameter would actually be a wrong solution according to your specs. There's a difference between "make this function (always) return false" and "what parameters do you need to give to that function in order for it to return false"
-
I'm going to be honest, I would've done the same just for the laughs, then CTRL + Z and do it right ;)
Related Rants
Interviewing a junior dev.
> Make this function return false.
> junior: deleted all code in function replaces it with return false;
Literally no words.........
rant
junior
"qualified"