by jameshush · 5y ago · 0 comments
This actually made me realize being just an IC wasn’t actually my goal though. Once I started interviewing for management and sales, all of those things _really_ mattered. Now that I’m running workshops and talks professionally, posting publicly is _critical_.
Moral of the story: if you enjoy posting in public and teaching in public, but you feel like its getting you nowhere career wise, maybe you are in the wrong career like I was. Once I decided to double down on my strengths and spent nights and weekends at public speaking training instead of grinding leetcode things started to click.
Never brought up during the interview process, I was still expected to take the coding tests, and if I did a little poorly on one question I almost always got passed, even though the games I made had plenty of things going on, and some were even finalists in game contests (one hosted by Microsoft, even).
I don't bother keeping up a portfolio anymore (I am working on a new personal site again, but not to put on my resume).
I decided to talk with a FANG recruiter a couple of years ago who must have scraped my name from mailing list or commit histories. Despite first making it clear by email I wasn't interested in a job interview at the moment but was just curious about some things, on the call they pretty soon demanded to know what I thought the best Big O notation was for a sort algorithm. They were rather insistent that I answer them this before they would move on and spend much more of their time explaining why they contacted me or answering my questions. Fortunately I hadn't wasted a lot of my time at that point either.
Strange, rude, entitled behavior. Sadly, they probably do hold real power over graduates and new developers, and those without jobs or much experience, or just those who dearly want to work for these companies. So they can get away with treating people like this, putting out these drag nets, paying no real interest or respect to any individual (at least not until they think their canned questions have filtered out most of the useless scum).
Guess which one gave me a good impression of their company and who I might work with again?
So yeah maybe the Big O stuff is lame, but sometimes it's also a filter for entitlement on the behalf of the candidate. Hiring isn't hard, but it's not easy.
I'm not sure if you're playing devil's advocate very well here, because this suggests to me that the interview process did not work well. Do you want to hire someone who can write a binary tree insertion in 30 minutes, or someone who can make amazing contributions to real software projects?
> So yeah maybe the Big O stuff is lame, but sometimes it's also a filter for entitlement on the behalf of the candidate. Hiring isn't hard, but it's not easy.
My point wasn't that hiring is easy or even that programming quizzes do not have a part in interviews. It is the level of contempt that some of these companies and their recruiters and hiring processes show to people.
To be fair I did open myself up to it having responded to an unsolicited message, but I always try to politely decline if I get a message from a real person. They responded with something interesting and hooked me to agree to a call. I made it clear I was not interviewing for any position, and again while on the actual call I declined the Big O question. It just shows they were perfectly happy to send out probably mass spams and waste people's time, but were not willing to even read what I wrote or listen to me, or worse they did and decided they'd just ignore what I said anyway.
My point is treating people like people, not like bycatch in your drag net. Simple stuff.
So, are you trying to hire someone who will make stellar contributions to your codebase or are you looking for candidates who are good at answering dumb questions?
The recruiter might've been especially metrics-driven, though. And maybe they were playing to metrics in a way that the org/manager didn't intend.
Or maybe the org/manager did intend your experience, and it was behavioral screen, for candidates who'll submit to whatever the emergent behavior of a corporate behemoth ends up doing to them. :)
If they are dismissive of them, it tends to be an early sign that they are unable to think of things in a broader or alternate context. These are also the interviews that tend to have questions with right or wrong answers, even if the questions have multiple solutions and warrant discussion.
So now I do enterprise development for my day job and work on games on nights and weekends. And enterprise development isn't inherently boring either.
Programming is still programming, in both games and enterprise software there are times where you just need to power through easy boilerplate with some music or a podcast on, and other times where it's an intricate puzzle you have to mull over in silence, do some research or experimenting on, ask your colleagues for their opinions or insight, etc.
Many great coders suck at communication or are just not nice to be around.
I've seen amazing "coders" not being hired because they can't have a good conversation during the interview. I'm sure they're the same ones that complain about interviews being too hard.
Reminds me of the story of the movie Good Will Hunting - Ben Affleck and Matt Damon added a completely out of place scene (a gay sex scene) in the middle of the screenplay just to see who would call it out, as a way of checking to see who had actually read the entire script.
However, if I would be interviewing a game designer and not an engineer, this portfolio would have been incredibly relevant.
In fact, practices in competitive coding are almost the opposite of what you need in large projects. You need to get a result as fast as possible, and the code is thrown away in the end. Readability, robustness, reusability, none of these matter, descriptive names are a waste of time, so is freeing up resources. Competitive coders are usually good coders in general, simply because they care, but so are people with side projects.
At one of them the guy was the epitome of what I would call "friendly condescending", spending half the interview pontificating on why the vast majority of developers don't understand what they're doing and should spend all their free time having a deep philosophical understanding of their work and suggesting I might be amongst those idiots (I'm really not doing a great job of selling it, he went on and on elaborating all the ways in which all developers but him were lacking and how he couldn't find anyone worthy of working at the company), but with a smile on his face the entire time. To be fair he did call himself "the asshole at the company" during the interview, though.
The two job offers I got were from larger companies, but I talked to some younger guys working there that liked video games and sci-fi novels and going to a summer camp hosted by a popular 80s/90s band and DSLR photography, etc. and being able to talk about those things even a little bit may have helped them get excited about me, actually :) Also helped I did well on their coding tests, though.
Some of our best employees are the ones who came in with the fewest credentials and the most to prove. There is no candidate I would refuse purely on the grounds of credentials.
We are much more interested in side projects and work ethic than formal certifications or other pieces of expensive paper.
I can't really remember the last time I was turned down for an interview.
You're totally right about the other part though. I've lost a lot of jobs I think I could have been great at because I'm really bad at whiteboard coding interviews.
These deep technical skills don’t matter as much because a lot these highly paying companies don’t have work that is deeply technical. Their challenges are primarily around management and scaling the number of engineers.
This requires reducing people down to something very simple and being able to treat engineers as fungible resources. Hiring and evaluating each person as a special snow flake is not the most profitable thing to do at large scales.
This is exactly the thesis behind Paul Graham’s ideas on startups and innovation. The scaling of a large corporation inevitably jams up the gears of the system and a small team can completely outflank a large company with employees keeping more of the returns and the work being more fulfilling.
Unfortunately the incumbents have sucked in most of the revenue so even though you regularly have small teams of people knocking out work that puts the biggies to shame making money is hard to impossible. So everyone on “Hacker news” is now left reverse engineering every detail of how big co works to get ahead .
FAANMG also has a deluge of resume thrown at it every semester. Ever since mainstream media filmed at the Google Campus/Facebook HQ, every parent wants their kid to work there since "he's really good at this computer stuff" and "he's gaming all the time, he might as well make money at the computer!".
And then you get to interviewing and realize this candidate cannot write 2 lines of code...
They are optimizing for something. It's just not what you think it is.
A lot of it seems to be about the identities of the employees and the hazing ritual that initiates new members into the group.
Got it in one.
Whenever I ask people about these tests, we have some back-and-forth, and it inevitably ends with them declaring (in so many words): “Well, I got hazed, so you will, too.”
I don’t suck at the tests, but I’m not particularly good at them. I never practice them, and didn’t come up through the traditional CS curriculum (I started as an EE), so I’m often seeing the problems for the first time, when I look at them.
They just don’t have any relevance to the type of work I have experience doing, or the value I could bring to a team. Since it seems that most interviewers are looking for particularly formulaic responses, they are a pretty good way of filtering out people like me.
I’m always puzzled as to why interviewers waste valuable time on these seemingly pointless exams. If they don't want me to work for them, there's much easier ways to discourage me.
They probably only interview people that have showed continuous progress with several finished projects over the years and hire only those that are good and can code instead of pulling leftpad from npm (a snarky response but so is yours, as if it's either good at whiteboard interviews but uncreative imp or bad at interviews but great and accomplished)
At one place I worked, one of the exercises we used simulated working in a team environment. HR was really worried that we were giving a "test" (this really sets of their alarm bells if they haven't vetted it!) and we had to prove up and down that it was an exercise to see how they performed in a group setting, and the actual code wasn't very important.
The whiteboard coding interviews are beyond stupid IMO, but at least they can prove that they're consistently applied.
As someone who thrives on talking about side-projects, I did not do well in that interview.
That's what I'm starting to suspect, and that suspicion is shared by several of my friends in the industry.
I quote from the thread: "binary search was first published in 1946 but the first published binary search without bugs was in 1962"
Anecdotally, a coworker we hired a couple years ago (and has been doing an awesome job) dusted off her old coding challenge from when she applied, and ran it through a new test suite we've been working on. The suite failed, and it turns out her binary search was buggy...
There's a lot of room in between "couldn't implement it" and "can do it in 5 seconds" and "wrote a buggy version of it".
I've been writing code for 25+ years, 15 years professionally, and the only time I had to write any search algos from scratch was in school. I'm sure I could do a binary search given enough time but I'd probably just refuse and end the interview.
In the absence of that, why might I ask you to implement a binary search or maybe a linked list: I want to give you a problem that you (should, for senior folks) understand and will show me that you understand pointers and dealing with memory with something basic. I don't expect perfect on a whiteboard interview, I'm just looking for red flags.
To be fair, I always get tripped up by the classic interview question of reverse-a-single-linked-list. It's not something I ever do outside an interview!
"This person seems really sharp, and their questions were very insightful!"
"They really focused on testing more than the typical applicant."
"I tried giving them a hint four different ways, but they just wouldn't take it. When I explicitly explained what I was looking for, they agreed with me, but I couldn't tell if they actually understood."
"Their solution seemed a lot more complicated than necessary, and had a bunch of unhandled edge cases as a result. Every time I pointed out an edge case, they added another branch rather than fixing the underlying structural problems."
"Several times when I asked a question, they deflected or answered something else, or assumed I was implying something and continued writing more nonsensical code."
Also, many people people tend to attribute a lot of value to their personal/hobby projects. They're certainly very cool and fun to chat about, but it's very rare for projects to be novel in a way that sets you apart when being considered for serious engineering projects. At work we develop UAVs. Your hobby grade FPV quadcopter is totally sweet, but it isn't going to get you an interview. If you built a hardware-in-the-loop testbed for your quadcopter, then let's talk!
"Output" in particular is a funny thing to gauge in software engineering. I'll sometimes go a month without writing a single line of production code. My favorite PRs delete more lines of code than they add. A more junior coworker will have bloody fingertips from coding around a problem for days, and then I'll ask a relatively dumb question about what they're trying to do, they'll think for a minute, and then delete 1000 lines of code and replace it with 50 because they were making incorrect assumptions. It's not just individual productivity that matters, but also team productivity.
"Creativity" is also a funny thing. Within embedded software, the most elegant solution is the most boring one. Any time someone does something creative, there better be an extensive unit test for it, because otherwise it's definitely going to be buggy. With wisdom, discipline and creativity all together one can build more sophisticated and complex systems than otherwise, and that's highly valuable. Lacking wisdom or discipline, though, creativity does indeed become a liability.
The uni thing is not exactly a revelation. It's the same for every single field/job. Better uni, usually better worker.
All you're actually saying is that novice programmers straight from uni mildly correlate in ability with SAT scores.
Nothing surprising in that.
I think this is part of the reason for the widespread usage of take home / coding assignments etc.
If you have a bad process making people do some work improves your result.
I remember the first company I had with a friend in the late 90s and our process sucked. It was embarrassing, although thinking about it we still had a 50% success rate in technical quality of people we hired. If we had given tests to the people we didn't have someone to vouch for it would have meant we did not make the mistakes we did. And by saying we had a bad process we had a bad firing process as well. The bad hires we made really were catastrophic because we couldn't handle any part of the process.
Sure, when I applied, I had to do dumb tests. But when a C or VP level asked me it was usually not an issue to get a job.
Outside of FANG? I'm sure you can bypass many technicals with credentials.
But I think, if a person above VP level wants you at Facebook, an assesment center isn't an issue.
I'd much prefer it rather than scribbling in a whiteboard with an eraser that doesn't work and trying to put together the solution
Whiteboard does work for higher level discussions, not for anything resembling code
Lest they ask you to whiteboard FizzBuzz, that makes me want to leave the interview immediately.
I am interviewing a lot of people. I look very suspicious at these kinds of moves to try to impress me.
I don't necessarily ignore, but I try to figure out if this is some kind of shallow engagement.
It impresses me if you can stick to something meaningful and do it regularly for years but you can just as well hurt your chances if you propose 5 simple commits to random projects on Github to be your greatest accomplishment.
A blog about programming is not going to impress me if you are still junior engineer. Rather, it is worrying. I always remind people to learn something first before you try to teach other people.
I will still want to see you code yourself out of a paper bag.
Teaching is one the greatest ways to learn and develop your relation and vocabulary for what you are currently learning. It’s one of the greatest tricks a good college class will pull, having students continually drag each other a step further as they learn something new and then have to explain it to their peers. Most blogging is this kind of “I’m not writing it down to remember it later, I’m writing it down to remember it now.”, so it’s seems to me you might be dismissing some eager learners if you think the act of blogging is self-important.
Oh sure it is.
I studied theoretical math and I found teaching other students math was great way to get it organized in my head. But we also had professor and I wasn't teaching anybody original ideas, just the material that was already written and defined.
Now I have decades of development experience I still find explaining things to other people a very useful and efficient way to get my thoughts organized.
I kinda exclude blogs with posts of the form "see, I have found something interesting today!" or "I just spent 5 hours solving this problem, writing down solution here so you don't have to waste time". This is fine.
But if you have 3 years of experience in development and start writing blog posts criticizing OOP, that is definitely not going to help your case.
I mean, it is highly unlikely you got enough experience and thinking done to even understand OOP, let alone start criticizing it.
But... I think someone with 3 years of experience deeply engaging with the question of OOP is a great thing to do. You're not wrong that they can't possibly know, but that's not relevant I think. Trying to own the domain and think critically about the sacred cows and reinvent the useful parts is exactly what a good autodidact has to do. And doing it in public view, available for critique and ridicule, I think puts skin in the game and shows character.
There's something to be said for certainty and epistemic humility, but also I think basically everyone who ever invented a truly new thing or learned something nontrivial on their own had to bring enough audacity to the table to get over the line.
Maybe it's a personality difference and you're making the right choice for the type of personality you want your org to have.
Blogs are simple media to share one's thoughts, because one likes to write and... to share---that is it. If you don't care for my writing and my sharing then you're free to move on.
The beautiful thing about knowledge is that it's free and open to anyone, implying that junior engineers shouldn't have blogs is next level elitism and conceit. That is what I find worrying.
I feel sorry for the people having to interview with you or working under you, that need to code themselves "out of a paper bag" to impress you.
You know what is not fine? Telling people they need blogs or open source projects to get better chance at getting work.
Because then I get candidates that spent a lot of their time and effort doing something they did not really want to do rather than getting better at what they want to.
> I feel sorry for the people having to interview with you or working under you, that need to code themselves "out of a paper bag" to impress you.
I feel sorry for the people that have to work with you if you feel ability to demonstrate you can program is not a prerequisite for working in a development team.
I don't quite agree here. Junior engineer doesn't always say much about skill. People can have deep knowledge in a field like reverse engineering but still work as a junior because they got out of college 1-2 years ago.
When it comes to junior/senior titles I get the feeling age is more important than "skill".
I get what you're saying though, you should never act like you're a god amongst men, but blogposts that show deep knowledge aren't something I would dismiss.
The curse of knowledge is also a thing: An expert might have a harder time explaining things to a novice. A novice can more easily explains things to a fellow novice.
And if someone gets something wrong on the internet, sooner or later someone else will point it out. #XKCD386
I agree that people not feeling appreciated should try other things, but I think that includes different kinds of employers as well as different kinds of job.
That being said, I’m NOT bashing those interviews. I’ve been a hiring manager too, if I was able to offer double money and high prestige like a FAANG company I would have had a high filter too. I focused more on sourcing people through friends of friends so the interviews were more of a soft sale on my end than a leetcode grind.
I just described what I see. It's not about what I want or don't want. Personally I'm mostly indifferent, I'd say.
Problem is, not much else looks appealing. Most realistic pivots look more miserable and end up just being adjacent roles that remove all the parts of what I like about software development while becoming mostly what I don’t, likely with a much lower salary cap. I thought about doing something radical and going back to school, but I don’t have the time or money. Though this thread makes me want to look again.
Knowing where I stand and what my values are also helps when it comes to navigating the professional environment.
The binary search algorithm isn't something you can "forget". For a literate programmer it's like forgetting how to write the letter 'A' or forgetting which pedal is the gas and which is the brakes.
Well, I thought, yes, I think it is, actually? So I tried implementing a hash table in C—without testing it, as if I were writing it in an interview without programming tools. It took me 15 minutes and had a significant bug: https://news.ycombinator.com/item?id=26593250
I concluded that implementing a hash table in C in 30 minutes is a reasonable thing to ask someone to try during an interview, and how people work on it will probably tell you a lot about their programming abilities. I wouldn't hire them for a C programming job if they said "school was years ago, I've forgotten", but you shouldn't necessarily expect them to succeed flawlessly.
Binary search in particular is notoriously tricky. It's easy to explain the idea in a lot less than 10 minutes, and it's easy to write a version of the code that sometimes works in less than 10 minutes, something like
bs(k, a, i, j)
{
int m = (i+j)/2;
return a[m] == k ? m :
a[m] < k ? bs(k, a, m, j) :
bs(k, a, i, m);
}
But it's easy for the algorithm to hide subtle bugs. That version has at least one type error (in modern C, anyway), one obvious correctness bug, at least one obvious performance bug, and probably some subtle correctness bugs as well. Many years passed between the first publication of a binary search algorithm and the first publication of a correct one.Also, though, there are lots of kinds of programmers. You can spend a lot of time writing screen-scrapers or CRUD or machine learning models in Python without ever needing to implement binary search. In Python you should probably just use the bisect module in practice, most of the time, rather than reimplementing it.
For sure, but I guarantee you the interviewer from the grandparent comment wasn't looking for correctness and safety when they asked to implement a binary search.
They ask the binary search question to check if the applicant knows what an algorithm is and if they ever had to implement one. (Any algorithm.)
Sadly, 90% of programmers these days don't and haven't.
> In Python you should probably just use the bisect module in practice, most of the time, rather than reimplementing it.
Well, yes, most developers ship software without ever having to actually program.
What, the company that interviewed James Hush about binary search was your company? Have you thought about the possibility that maybe he also interviewed at at least one other company which used different evaluation criteria? Maybe you should put a little bit more effort into correctness yourself!
> They ask the binary search question to check if the applicant knows what an algorithm is and if they ever had to implement one. (Any algorithm.)
> Sadly, 90% of programmers these days don't and haven't.
That makes no sense. Every program or subroutine implements an algorithm. If you haven't written any programs or subroutines you aren't a programmer.
> Well, yes, most developers ship software without ever having to actually program.
This reminds me of when I was a kid and we thought it wasn't "actually programming" when we programmed in BASIC or Pascal because actual programs were written in assembly. We were wrong about that.
I think writing an if-statement would be closer to your analogies.
Probably.
Point is, you don't really need to know how to program to ship software.
I've still never had a professional use for a Trei structure. I tried really hard to make a case for it on a project at Google, but it just didn't make sense vs. slapping down std::map and then drinking a beer.
But in an interview situation, they cannot give you a three week task. Like FizzBuzz, a binary search is a simple task that can be done during an interview. They are not testing your ability to write a binary search. They are testing you on your ability to implement a function, given specific requirements.
You don't use all 10000 words of your native language every day. You don't ride a bike every day. Nevertheless, that's part of you and you don't need to make a conscious effort to remember which way the pedals spin when you ride a bike after a long hiatus.
Programming is already pretty unnatural and implementing binary searches and other basic algorithms is really only something you do constantly in the beginning. Over time that "muscle memory" will fade. It's also something that's easy enough to look up and understand in a couple minutes.
If you cannot write a binary search routine from scratch, how can you be expected to solve much bigger problems?
void
dumbsort(int *p, int n)
{
for (int tmp, i = 1; i < n; i++) {
if (p[i] < p[i-1]) tmp = p[i], p[i] = p[i-1], p[i-1] = tmp, i = 0;
}
}
But it lives up to its name; I can't imagine any reason you should ever use this algorithm. It compiles to 16 instructions but it's O(N³). Insertion sort is more complicated—it compiles to 17 instructions—and is actually a reasonable thing to use in some circumstances: void
isort(int *a, size_t n)
{
for (size_t i = 1; i < n; i++) {
for (size_t j = i; j > 0; j--) {
if (a[j-1] <= a[j]) break;
int tmp = a[j];
a[j] = a[j-1];
a[j-1] = tmp;
}
}
}
That's because it has the lowest constant factor of all the O(N²) comparison sorts on common machines, so it's the absolute fastest way to sort small arrays. (On my laptop it sorts N items in 0.34 ns × N² ± 2%.) And it's also very fast for large arrays of nearly-sorted data, so it's a reasonable way to finish up after a rough quicksort.It took me about five minutes to write that, and it worked the first time I tested it. But that's in part because I find sort routines fascinating and I've been studying them, and programming in C, for almost 30 years. Even if it took you an hour or four hours and required a lot of debugging, you still might be a decent programmer. Especially for jobs where things are less well defined and you have to do a lot of debugging anyway!
(By contrast, I've actually spent most of the last hour trying to write a properly working quicksort, the variant that finishes up with a single call to insertion sort, using both notes and a compiler. Of course it produces correct results because of the final insertion sort but it's not as efficient as it should be and I can't figure out why. Apparently I can't brain today... good thing I'm not in a job interview!)