News for hackers. Stuff that matters.
Re:Ask HN: How is the job search coming along for people who... by a-bit-of-code on Tuesday December 06, 2022 @07:13AM (#33878488)
For that kind of seniority/experience, what fraction of companies asked LeetCodey stuff? Was it easy or medium/hard problems? How much time did you have to spend preparing/practicing?
Re:Ask HN: How is the job search coming along for people who... by adamcharnock on Tuesday December 06, 2022 @07:19AM (#33878539)
Not the OP, but with similar experience levels and I’ve never done a LeetCode interview, and even regular interviews are pretty light. I mostly contract though, and they generally offer me full time after a little while if I want it.
Re:Ask HN: How is the job search coming along for people who... by Jenk on Tuesday December 06, 2022 @07:47AM (#33878795)
Also not OP, and also similar experience. Most of my interviews are an hour or two of conversation, sometimes with a "I've been told I have to ask.. " techy question but never involves any actual code/whiteboard. Several times the interviewer has said something to the effect of "I won't insult you by asking you to do a tech test, it's clear to me that you understand the work" or similar. One occassion (some years ago now) I've replied to a request to complete a tech test with a "Would you rather look at my open source code/contributions?" which they did and I didn't need to perform the test.
Re:Ask HN: How is the job search coming along for people who... by ARandomerDude on Tuesday December 06, 2022 @08:35AM (#33879403)
Not quite as experienced as you (I’m in the 10-15 year bracket).

I never ask LeetCode questions because it’s far easier on both sides to ask experience-based questions like “what do you like/dislike about <technology on your resume>?”

If I get superficial answers that tells me something. If i get well thought-out answers from people who have clearly spent time in the trenches that tells me something too.

Re:Ask HN: How is the job search coming along for people who... by Jenk on Tuesday December 06, 2022 @08:40AM (#33879498)
Yes, I'm exactly the same.
Re:Ask HN: How is the job search coming along for people who... by CWuestefeld on Tuesday December 06, 2022 @09:45AM (#33880731)
I've been doing this for 30+ years, and I've found the same. It's not just whether the candidate can answer correctly, but how they answer.

Back when I was doing C/C++ interviews, I'd ask questions like:

What's the difference between single and double quotes? A meh candidate answers something about you need single quotes for just a single character. A good candidate answers about how the data type for a double-quoted constant is a char.

If I want to pass a variable into a function, and have its value changed by the function, what do I do?* A lousy candidate says "put an ampersand in front of it". A meh candidate says to pass a pointer to the variable. The best candidate will talk about the difference between call-by-value versus call-by-reference.

People really do reveal a lot about themselves not just in what they say, but the way they say it.

Re:Ask HN: How is the job search coming along for people who... by jenscow on Tuesday December 06, 2022 @10:23AM (#33881459)
Both great questions, where the answer will give you a level of knowledge, rather than a yes/no.

(personally, I would be a meh candidate until you probed further - but I've not touched C for.. hmm, I'm old)

I often get questions where I need to determine if they're looking the textbook answer, or a real-life answer. Usually I will go with "well generally, the answer is $Textbook. However, ..."

Re:Ask HN: How is the job search coming along for people who... by CWuestefeld on Tuesday December 06, 2022 @10:29AM (#33881576)
I just realized that my above model answer gets broken by the formatter. the first question should get answered with char-star, that is, pointer to char.
Re:Ask HN: How is the job search coming along for people who... by ARandomerDude on Tuesday December 06, 2022 @10:51AM (#33882003)
This is why I don't use C. ;)
Re:Ask HN: How is the job search coming along for people who... by Izkata on Tuesday December 06, 2022 @11:53AM (#33883151)
If you put a backslash in front of the asterisk it should be kept as-is instead of triggering the formatting.
Re:Ask HN: How is the job search coming along for people who... by MaxBarraclough on Tuesday December 06, 2022 @10:55AM (#33882078)
> If I want to pass a variable into a function, and have its value changed by the function, what do I do? A lousy candidate says "put an ampersand in front of it". A meh candidate says to pass a pointer to the variable. The best candidate will talk about the difference between call-by-value versus call-by-reference.

I agree it's good for a candidate to demonstrate a solid understanding of evaluation strategies, but the way you phrased the question, the 'meh' answer seems about right. You asked what do I do? which invites a narrow answer specific to the language.

Re:Ask HN: How is the job search coming along for people who... by Sohcahtoa82 on Tuesday December 06, 2022 @12:52PM (#33884198)
Agreed.

In fact, I had an instructor in college that would have marked you down if a quiz/test asked this question and you wrote an entire paragraph describing call-by-value versus call-by-reference.

On the final, he said "Each of these questions is answerable in 1-3 sentences. If you're writing 1-3 paragraphs, you're wasting my time and I will subtract points even if your answer is correct."

Re:Ask HN: How is the job search coming along for people who... by ryandrake on Tuesday December 06, 2022 @01:54PM (#33885173)
We need your professor to coach interview candidates. On the "interviewer" side of the table, I can't tell you the number of times I've asked a question that should produce a quick, simple answer, and instead got a 5-10 minute stream-of-consciousness word salad out of the candidate. Or a huge run-on sentence this-and-that-and-this-and-also-that-oh-and-this... without coming up for air. It's so common, I must assume that these kinds of replies are being taught to candidates as some sort of best practice.
Re:Ask HN: How is the job search coming along for people who... by MaxBarraclough on Tuesday December 06, 2022 @03:10PM (#33886325)
I suspect many interviewers reward using a question as an opportunity to showcase knowledge though, even if it means rewarding that kind of expansive verbosity. I suspect the this and also that you allude to is the candidate not wanting to be called out for failing to mention a corner case or tradeoff. Of course, conversations are rarely legalistically constrained to answering only the precise letter of a question asked; it's a matter of degree.

Forgive a painful mixing of metaphors: if the Workplace StackExchange is anything to go by, one interviewer's flying colours are often another interviewer's red flags.

Re:Ask HN: How is the job search coming along for people who... by ghaff on Tuesday December 06, 2022 @03:58PM (#33886936)
I'll add that, as an interviewer (whether of candidates or doing qualitative research), a pattern of very clipped responses to questions about experiences of various sorts soon makes me feel that I, as an interviewer, have suddenly become responsible for filling airtime. It should be a conversation even if that can involve sometimes going off on tangents.
Re:Ask HN: How is the job search coming along for people who... by Sohcahtoa82 on Tuesday December 06, 2022 @04:34PM (#33887385)
> if the Workplace StackExchange is anything to go by, one interviewer's flying colours are often another interviewer's red flags.

This is absolutely true.

In /r/RecruitingHell, I recently saw a job seeker saying a hiring manager dropped them after they tried to connect on LinkedIn during the interview loop. Meanwhile, another HM in another loop praised them for it.

Re:Ask HN: How is the job search coming along for people who... by roxgib on Tuesday December 06, 2022 @03:11PM (#33886351)
This is what I've been told. The idea being that the questions are more like prompts, and you should go ahead and elaborate to show your knowledge? Of course sometimes a questions really is just a question.
Re:Ask HN: How is the job search coming along for people who... by SoftTalker on Tuesday December 06, 2022 @03:25PM (#33886524)
I think it's more likely a nervous candidate who may not be comfortable or experienced in conversation, as many introverted tech type people seem to be. I don't think it's being taught; it's more likely the result of the candidate not having had interview coaching at all.
Re:Ask HN: How is the job search coming along for people who... by yamtaddle on Tuesday December 06, 2022 @05:28PM (#33888022)
Yeah, nerves plus the big question-mark of not knowing what the interviewer's actually looking for. One interviewer's perfect answer will be another's "red flag" (see this very thread, where directly and correctly answering the asked question apparently got you put in the "meh" bucket).
Re:Ask HN: How is the job search coming along for people who... by Sohcahtoa82 on Tuesday December 06, 2022 @04:40PM (#33887450)
> On the "interviewer" side of the table, I can't tell you the number of times I've asked a question that should produce a quick, simple answer, and instead got a 5-10 minute stream-of-consciousness word salad out of the candidate.

Yup.

There's a fine line between giving a thorough answer and just vomiting up everything you know that's slightly relevant to the original question.

I do AppSec. If I'm interviewing a candidate, and I ask them what Cross-site Scripting is, then if at some point during their answer they bring up SQL Injection, that's a red flag.

Re:Ask HN: How is the job search coming along for people who... by cardinalfang on Tuesday December 06, 2022 @02:36PM (#33885798)
Must have been before rvalue references.
Re:Ask HN: How is the job search coming along for people who... by anonymouse008 on Tuesday December 06, 2022 @11:16AM (#33882437)
Completely off topic, but I wanted to see if your bio could be parsed for an email with chatGPT - since I thought yours was the most interesting I've seen in some time. Turns out cgpt is quite clever:

What's the email address: To email, send to the domain TheWuestefelds.com, using the mailbox "Chris".

In general, email addresses consist of a username followed by the at symbol (@) and the domain name, such as [email protected]. However, without being able to verify the existence of the domain TheWuestefelds.com, I cannot say for certain what the email address would be.

Re:Ask HN: How is the job search coming along for people who... by anonymouse008 on Tuesday December 06, 2022 @02:49PM (#33886011)
Hey someone flag the above comment - I’m an idiot and left the email in there
Re:Ask HN: How is the job search coming along for people who... by dang on Tuesday December 06, 2022 @09:27PM (#33889993)
We've redacted it now.
Re:Ask HN: How is the job search coming along for people who... by CWuestefeld on Wednesday December 07, 2022 @05:27PM (#33901238)
as the person you're talking about - I just up-voted you anyway, just because this is interesting :)
Re:Ask HN: How is the job search coming along for people who... by EmilyHATFIELD on Tuesday December 06, 2022 @01:56PM (#33885194)
Why would using pointers be better than references ? At least a reference cannot be null?
Re:Ask HN: How is the job search coming along for people who... by CWuestefeld on Wednesday December 07, 2022 @05:34PM (#33901315)
Well, at the time I was doing that, it was actually for a C and not C++ job, so &references weren't even a thing. But my point wasn't that using the ampersand is wrong - just that if that's how you describe what you're doing, you probably don't have a very strong foundation in how the language really works.
Re:Ask HN: How is the job search coming along for people who... by kubami on Wednesday December 07, 2022 @10:41AM (#33895596)
Exactly this! I haven't been interviewed for a long time now, but since the beginning of my career, when I have interviewed people I ask deeper questions. Even with tech tests, I use them as a jumping board for diving deeper into language design, tradeoffs and experiences. Even a trivial, reverse-a-string kind of questions can take you deep into candidate's knowledge.
Re:Ask HN: How is the job search coming along for people who... by century19 on Tuesday December 06, 2022 @08:29AM (#33879316)
Contracting interviews are nothing like FAANG though, I literally had one that was a 30m chat with a couple of softball questions. Compared to FAANG they are all a walk in the park and barely need any prep.
Re:Ask HN: How is the job search coming along for people who... by seanmcdirmid on Tuesday December 06, 2022 @10:24AM (#33881482)
I give contractors a coding question related to the job. Unlike LeetCode, it isn’t really challenging (not even fizzbuz), just a test that they can learn a few APIs (that are given descriptions) and write down code. You’d be surprised how many candidates freak out at that point. Unfortunately, it’s often needed for the role.
Re:Ask HN: How is the job search coming along for people who... by amenghra on Tuesday December 06, 2022 @08:32AM (#33879360)
Not everyone can do this, but if you can manage to first do contract work, IMHO it's win-win for both parties. From the company's point of view: senior engineers are very expensive -- having a contract period lowers risk. From the employee's point of view: you get a good idea of what the company is doing / what your exact role would be before you commit.

In theory, it's at will employment yada yada. But in practice, it makes a difference.

Re:Ask HN: How is the job search coming along for people who... by thefreeman on Tuesday December 06, 2022 @08:45AM (#33879573)
How do you find contract opportunities? Is it the same as regular job searching? Do you use a firm? Do you apply to full time job posts but say you prefer contract to hire once you have an interview?
Re:Ask HN: How is the job search coming along for people who... by antisthenes on Tuesday December 06, 2022 @09:29AM (#33880409)
For me it was opening up on LinkedIn and making myself "Open to work", recruiters were reaching out daily (or close to it).
Re:Ask HN: How is the job search coming along for people who... by mylons on Tuesday December 06, 2022 @10:49AM (#33881978)
the canonical way is reaching out to anyone in your work history that you had any sort of positive working relationship with. i just went through this exercise and saw a tip in a similar thread to ask something like this in the email, “do you know anyone who is looking for contractors?” this way you don’t create a potentially awkward situation for them where they have to say they can’t hire you. and, in my case, this led to referrals that ultimately ended up in signed contracts.

there are sites online, like the whoishiring threads here. i’m running https://hourly.fyi/jobs/

Re:Ask HN: How is the job search coming along for people who... by mylons on Tuesday December 06, 2022 @10:44AM (#33881888)
big agree on contracting interviews being light. i’ve had about a dozen in the last year and only 2 asked technical questions. the rest were more curious about time lines and cost.
Re:Ask HN: How is the job search coming along for people who... by hjajoo on Tuesday December 06, 2022 @01:01PM (#33884361)
Can you share which companies these are?
Re:Ask HN: How is the job search coming along for people who... by golergka on Tuesday December 06, 2022 @08:14AM (#33879128)
Not OP, 15 years of commercial experience, been writing code since 95. Only two companies did something similar to LeetCode, never prepared — last time I seriously took part in programming competitions was in high school in 2004 — still easily solved everything they asked for. One of the problems was actually famous n queens — which I remembered as a problem, but didn't remember the solution for. Solved it in 40 minutes (with an uncommon solution, as interviewer later told me) anyway.

Most of interesting questions had to do with system design and debugging, soft skills (also system design and debugging, but of systems made out of people instead of code) and code reviews — with me reviewing their production code. Sometimes I got pretty stupid interview questions like remembering REST spec (there isn't one) by heart, but those were companies I wouldn't want to work for anyway.

Re:Ask HN: How is the job search coming along for people who... by swyx on Tuesday December 06, 2022 @09:00AM (#33879826)
just chiming in for others that i've had a job specifically waive a coding test because they saw me livecode in front of 2000 people and my fave amazon interview story was a guy that walked in with his laptop open to my blog saying "this is just a formality i've read your work" lol

TLDR why leetcode in private when you can work in public*

(*yes yes, not everyone can work in public, but i bet a fair amount of you can but havent given it a real shot)

Re:Ask HN: How is the job search coming along for people who... by dahart on Tuesday December 06, 2022 @10:04AM (#33881102)
Last time I had a coding test during a job interview, I was left alone for an hour with a laptop that was screen-shared with a number of interviewers that was unknown to me. It felt a little like live coding in public but without any audible feedback. That might stress some people out I’d guess, but it felt chill to me. I did my usual thing, even used StackOverflow for some quick syntax & library tips, and finished the program (a Tetris-like game with an AI player, in Python). Got the job. It was pretty fun TBH, even with a lot of experience, I’d prefer the live-coding interview over talking through database schemas or whatever.
Re:Ask HN: How is the job search coming along for people who... by WWLink on Tuesday December 06, 2022 @02:42PM (#33885869)
That's quite a bit for an interview. How long did it take? Did they gave you code to plug a piece into? Or did you have to write the whole game?
Re:Ask HN: How is the job search coming along for people who... by dahart on Tuesday December 06, 2022 @10:11PM (#33890205)
It was a whole game from scratch in the programming language of my choice. They only specified the rules. It was keyboard and console only, btw, no graphics or controllers or sound. I took the whole hour and was mostly done when I ran out of time. I forgot to write the score keeping before the interviewer came back. The AI player was “extra credit” and I finished that, so it helped excuse my scoring oversight.

It wasn’t that much or that bad, really. The setup was pretty simple, and quite doable for junior devs IMO (though full disclosure I had just left a position as a lead game programmer, so for me specifically it would have looked a little bad if I didn’t smash this particular interview question). It also helped that the problem was open-ended with extra credit features. I learned later when giving the interview myself that most people never finished the basic game, the majority never tried to write an AI player, and the interviewers were quite forgiving with their ranking & scoring - it was adaptive to the candidates. The coding part of the interview was just trying to be a bit fun and not just be pure dumb LeetCode problems. IMO it worked, I totally enjoyed the interview. The rest of the 4 hour interview included some whiteboard questions (on DB schemas, which I flubbed pretty hard) and also a lot of just talking about experiences and goals.

Re:Ask HN: How is the job search coming along for people who... by WWLink on Sunday December 11, 2022 @05:31AM (#33941993)
Yea that would do it for me haha. My bread and butter is embedded C! Technically it's C++ but we try to ease off the ridiculous C++isms because this stuff needs to be readable to the person that was waken up with a phone call at 3am and needs to explain some random behavior lol.

I've never done anything spectacularly fancy with CLI terminals. I could rig up a UI with c++ and qt, or python and tkinter.. but it's been a while. Longer ago, I used to do objc but that was forever ago!

So yea, I'd die on this one hahaha.

I should try it sometime. I love tetris!

Re:Ask HN: How is the job search coming along for people who... by dahart on Sunday December 11, 2022 @02:40PM (#33946698)
Oh you could do what I’m talking about in C, no problem. By console and keyboard only, what I mean is that this is a game done in the shell with a REPL using printf() and scanf(), it was not graphical or anything. The programming problems weren’t about game programming, it was just design a little data structure to hold the board state, implement valid move checking, detect win/lose states. Really simple stuff, I guarantee it wouldn’t be hard for you.

Re: ridiculous C++isms and embedded C, I’ve been in the same spot for my entire career. After learning C++ in college, I joined a CG film company that had banned C++ (dumb story) so I learned how to write object oriented C. Working in console games after that, we weren’t allowed to use any built-in memory management or exceptions or a current compiler, so very restricted C++. (And the worst bug I ever fixed was when someone tried to get clever with their C++ copy constructor.) These days I use CUDA, which is also technically C++ but basically C.

Re:Ask HN: How is the job search coming along for people who... by dataexporter on Tuesday December 06, 2022 @03:57PM (#33886923)
So your suggestion is to just become a content developer and start marketing yourself online? Getting your work in front of others and getting the amount of reach that you have is also a lot of luck. Not everyone can get the same amount of reach as you have - I've seen hundreds of developers shouting out into the void without any recognition.
Re:Ask HN: How is the job search coming along for people who... by pcthrowaway on Tuesday December 06, 2022 @04:22PM (#33887238)
> Getting your work in front of others and getting the amount of reach that you have is also a lot of luck

I think this is dismissive of their talent, relative to other people who might try doing the same.

To be fair, swyx was also being dismissive of their talent "Just work publicly and you don't have to prove your coding skills!", which of course assumes your talent will be evident to anyone glancing at your public work. In my opinion, making incredibly complex work look effortless, and therefore easy to follow, requires exceptional talent.

Re:Ask HN: How is the job search coming along for people who... by dataexporter on Thursday December 08, 2022 @08:53PM (#33916404)
> I think this is dismissive of their talent, relative to other people who might try doing the same.

I believe those who are popular content creators are also better at marketing and sales. Getting their work recognized means that their marketing talent is good and not necessarily their programming skill relative to other people who are doing the same.

When looking from that perspective - are you optimizing for hiring people with good programming skills or those with good marketing skill?

Re:Ask HN: How is the job search coming along for people who... by TillE on Tuesday December 06, 2022 @09:20PM (#33889961)
You don't need to become a Twitch streamer or anything, I expect the main developer of a significant open source library would have a similar advantage in adjacent industries.

You can take a traditional career path, or you can carve out a niche somewhere.

Re:Ask HN: How is the job search coming along for people who... by ryandetzel on Tuesday December 06, 2022 @09:03AM (#33879875)
I went out of my way to not do leetcode so I only had one because Glassdoor was wrong. I would ask the recruiter during the initial call where I also talked about salary so as yo not waste everyone's time. I cancelled a few interviews that I later found out were leet code, not because I don't want to do them but more I think the people you end up working with are better at testing than coding, from my experience.
Re:Ask HN: How is the job search coming along for people who... by bradlys on Tuesday December 06, 2022 @12:17PM (#33883586)
Was the comp comparable to FAANG and other public companies in the end or did you take a paycut?
Re:Ask HN: How is the job search coming along for people who... by ryandetzel on Tuesday December 06, 2022 @06:35PM (#33888639)
Base is higher than I was making at Twitter, but instead of RSU/ESPP it's now options which can go either way, so it's a gamble. For me, I prefer startups, but the golden handcuffs are hard to takeoff once you've had them on for a while.
Re:Ask HN: How is the job search coming along for people who... by Shocka1 on Friday December 09, 2022 @11:25AM (#33923110)
You can make SF/Seattle/coastal money without participating in leetcode interviews. There is a fascination on this website with these cities, but you can make just as much from just about anywhere without going through this popular hazing process. It will limit the amount of opportunities offered, but there will still be opportunities regardless.