News for hackers. Stuff that matters.
Re:What would a recession mean for developers? by usrbinbash on Saturday May 28, 2022 @04:51AM (#31538735)
> There's a significant backlash at least in the startup space to "whiteboard coding"

Good.

Whiteboard coding is probably one of the least useful methods I have ever seen to evaluate candidates. It tells me nothing about the persons actual qualification and can be gamed.

Re:What would a recession mean for developers? by iLoveOncall on Saturday May 28, 2022 @06:03AM (#31539056)
While I agree that it won't tell you if a candidate is good, it will often show very quickly that a candidate is absolutely terrible.

My warm-up questions are usually something like "reverse a singly-linked-list" or "check if a string is a palindrome", and you would be surprised at how many people have just no clue on how to do it, even with a lot of help (and I work in a FAANG so we should be getting decent candidates).

Re:What would a recession mean for developers? by bluefirebrand on Saturday May 28, 2022 @10:28AM (#31540596)
I haven't worked with a linked list since first or second year university, more than 10 years ago, nor have I had much of a reason to do character by character string analysis.

I could probably work these problems out, but I might not seem too confident about it.

Re:What would a recession mean for developers? by EduardoBautista on Saturday May 28, 2022 @01:54PM (#31542322)
It’s a basic data structure. I have been able to pass these questions without a formal University education just on logic alone. It’s just basic usage of objects in the case of a JavaScript implementation.
Re:What would a recession mean for developers? by happymellon on Sunday May 29, 2022 @01:06AM (#31546569)
20 years of software development, I don't remember the last time that I actually encountered a linked list in the wild.

> It’s just basic usage of objects in the case of a JavaScript implementation.

Just because you would make a linked list via objects doesn't mean that anyone would actually do it.

Re:What would a recession mean for developers? by iLoveOncall on Monday May 30, 2022 @01:49PM (#31561590)
> I don't remember the last time that I actually encountered a linked list in the wild

Probably many times a day actually, whenever you use an ArrayList or the equivalent in the language of your choice.

Re:What would a recession mean for developers? by coldtea on Sunday May 29, 2022 @10:52AM (#31549582)
>I have been able to pass these questions without a formal University education just on logic alone.

So you'd be great for a job whose task is doing coding interviews then!

Re:What would a recession mean for developers? by iLoveOncall on Monday May 30, 2022 @01:51PM (#31561607)
I'm fine with providing a basic Node class for the linked-list if they struggle to start, but that's it. With that anybody should be able to figure it out, no matter how long ago were their classes on that (or if they had any).
Re:What would a recession mean for developers? by egfx on Saturday May 28, 2022 @12:34PM (#31541652)
> My warm-up questions are usually something like "reverse a singly-linked-list" or "check if a string is a palindrome", and you would be surprised at how many people have just no clue on how to do it,

I don’t know how to do it. I would need dictionary.com to find out what a palindrome means and stackoverflow for the rest, but I’ve used and evaluated five different JavaScript frameworks in building full scale web apps. Would you hire me?

Re:What would a recession mean for developers? by Doxin on Monday May 30, 2022 @05:28AM (#31557089)
An interview is not a quiz. You're allowed to ask clarifying questions. I'm sure most interviewers won't discount you for being unfamiliar with a fairly obscure word.

Needing stackoverflow to check for palindrome-ness would probably be a bigger problem though. Of course during your day-to-day you'll be allowed to google all sorts of things, but checking if something is a palindrome is so basic that all google could possibly provide you is the exact answer to the question.

Re:What would a recession mean for developers? by egfx on Monday May 30, 2022 @04:44PM (#31563440)
That's exactly the point and in response to the sibling comment as well - using StackOverFlow to find solutions to simple problems is the smart thing to do. Developers on SO compete for the best solutions. You're job as a developer is to curate and pick up new modern day conventions in doing so. The reason I don't waste time on reversing a palindrome is because frankly I'd rather spend time doing more important things for my products, and because its such a fundamental knowledge then how to reverse a palindrome is an answer that is available as fast as my brain could think about it. There are more important and more interesting problems to solve.
Re:What would a recession mean for developers? by iLoveOncall on Monday May 30, 2022 @01:53PM (#31561629)
I would explain you and give you an example of what a palindrome is.

And if you need stackoverflow to reverse a linked list, no, I would not hire you.

Many people have used many technologies. I started programming when I was 12, and I had no idea of what I was doing beyond copy-pasting code from tutorials and putting them together, but if "how many technologies did this dude work with" is your criteria, you would have hired 12 years old me.

Re:What would a recession mean for developers? by pragmatic on Saturday May 28, 2022 @03:02PM (#31542779)
FAANG recruiters usually prep you for the interview so that’s kind of crazy so many fail.

On the other hand, usage of linked lists in the wild can be rather limited outside c/c++. Only languages I’ve used them a lot and then only when I was teaching algorithms and data structures.

I think I used a linked list for a MRU list in a menu someplace ages ago in c# winforms app.

Re:What would a recession mean for developers? by iLoveOncall on Monday May 30, 2022 @01:57PM (#31561687)
> On the other hand, usage of linked lists in the wild can be rather limited

You use linked lists in pretty much all languages, they're just hidden behind the flavor that you prefer, List in C#, LinkedList or ArrayList in Java, etc.

Re:What would a recession mean for developers? by kcartlidge on Saturday May 28, 2022 @02:42PM (#31542639)
> My warm-up questions are usually something like "reverse a singly-linked-list" or "check if a string is a palindrome"

I've written sites, apps, ORMs, enterprise tools, code generators, FAAS platforms from scratch, exporters for DOCX and EPUB, etc etc for decades. I've been junior, mid, senior, lead of two teams. I've transitioned companies to cloud, created data warehouses, built BI universes. All sorts of stuff over the years.

Sounds like your hiring techniques would pass on me, as those whiteboard exercises would have me saying no thanks and ending the interview. Utterly pointless.

(and FYI that's from experience on both sides of the table as I've also been the recruiter interviewing from junior devs to team leads)

Re:What would a recession mean for developers? by iLoveOncall on Monday May 30, 2022 @02:04PM (#31561770)
> those whiteboard exercises would have me saying no thanks and ending the interview

Then I saved 45 minutes of my life, great. The point is, if you want to join the company I work for (and many people want to), you have to jump through the hoops of this company.

You should re-read the start of my comment, because I don't think those whiteboard questions are a great way to hire people. I just don't think there's a way that's more respectful of the candidate while being time efficient and providing good data points.

The truth is that the achievements that you claim can have been done by others. I'm in a top 1% company, and yet I see many people that are just utterly shit at being software engineers. There are parasites like this everywhere and they can just coast and claim the achievements of others for themselves (especially when applying to another company that has no way to verify their claims), so whiteboarding exercises and others crap is 100% necessary, no matter your level.

Re:What would a recession mean for developers? by kcartlidge on Thursday June 02, 2022 @12:39PM (#31597134)
Totally get that you can't just believe the claims. I just disagree that whiteboards are in any way a good solution.

But fair enough, if it works for you it works for you.

Re:What would a recession mean for developers? by throwaway675309 on Saturday May 28, 2022 @04:08PM (#31543326)
Those are pretty basic algorithmic questions, even if somebody's never heard of a linked list or a palindrome, anyone with even a minimal understanding of algorithms should be able to describe in pseudo code how to solve them.

They're not guaranteeing that an applicant is necessarily right for the job, but they do separate the chaff from the wheat proverbially speaking.

Re:What would a recession mean for developers? by kcartlidge on Saturday May 28, 2022 @06:17PM (#31544359)
> they do separate the chaff from the wheat

This is where we differ. What they separate isn’t chaff from wheat, but those who can do a specific type of interview from those who can’t. The latter aren’t chaff and the former aren’t wheat.

The only time these kinds of questions/tasks are suitable is if they genuinely represent the work being hired for.

Our opinions on this differ, and that’s fine, so whatever works for you.

Re:What would a recession mean for developers? by odshoifsdhfs on Sunday May 29, 2022 @07:19AM (#31548224)
This is the problem with this interviews and FANGs shit. They separate nothing. But because ppl in these companies did this doing interviews, and they have such a fucking high opinnion of themselves, they think the only good people are the ones that are like them. `I can do this and I'm the greatest (their own opinion reinforced by other idiots in the company) so anyone that can't aren't worthy of my time/welcomed here`.

But then you work with these idiots that can reverse a linked list in other companies and they can't organize code to save their lives. They use patterns and shit they used in facebook everywhere, even when they shouldn't because they always so smart and right.

(yes, after cleaning up code for shitty ex facebookers and ex netflixers, my opinion of the 'wheat' boils down to they may be wheat, but they infested with parasites and bugs and rotten at the core, but hey, what do I know, just been doing sw development for 25+ years, published author and worked on stuff that most here use daily, I'm just chaf because I don't want to work for FANGs)

Re:What would a recession mean for developers? by usrbinbash on Sunday May 29, 2022 @05:00AM (#31547607)
> it will often show very quickly that a candidate is absolutely terrible.

It CAN show that.

Problem is; even a terrible candidate can prepare, knowing the kinds of things that will likely be tested, by memorizing the solutions to these very specific problems.

Re:What would a recession mean for developers? by newbye3 on Saturday May 28, 2022 @06:17AM (#31539097)
Don't hire me, this version cons a lot )): (defun palindrome(str) (string= str (coerce (reverse (coerce str 'list)) 'string))
Re:What would a recession mean for developers? by iLoveOncall on Monday May 30, 2022 @02:05PM (#31561782)
I would ask you to implement reverse and coerce yourself.
Re:What would a recession mean for developers? by alexfromapex on Saturday May 28, 2022 @09:39AM (#31540247)
“I think I’d respect your opinion more, if you could write some code to evaluate all possible tic tac toe games in c++ on that whiteboard over there in around 45 minutes. Sound ok?” - whiteboard hiring managers probably