Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Please don't post about US Politics. If you need to do this, try [email protected]
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected].
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
As an interviewee it's nothing much, but when they asked me to sort a list, I find that question to be completely pointless, I will never implement a sort IRL, and most people who get it right are because they have it memorized.
As an interviewer, a person who sent their take home as a .doc file inside a zipped folder. I didn't understood why they sent it that way, but got the code to compile, and found very serious issues. When confronting the person they claim there were no issues, which happens so I pointed out at a specific line, and still nothing, I asked them if they knew what an SQL injection was and his answer was "yes, and you're wrong, there's no SQL injection happening there", so I sent him a link for him to click that would call that endpoint on his local instance, and dropped the entire database for the take-home assignment. No need to tell you he wasn't hired.
TBH a take home assignment as a
.doc
file would have been enough for me to pass. Even when going through resumes (for technical roles), i usually skip anything that's not a PDF.In hindsight that should have been enough, but at the time I didn't want to discard a possibly good candidate because of that (reasoning that maybe he had some reason for it). Being subject to SQL injections also is not the end of the world, everyone makes mistakes. Not realizing it even after me pointing the line could also be overlooked as "we need to train this person". But insisting that there isn't even after the interviewer tells you there is, means you don't want to learn, and at that point I can't help you.
My answer to "what's the best sorting algorithm" is "the SORT BY clause in SQL".