by edfletcher_t137 · 4y ago · 0 comments
> Never in my entire career have I whiteboarded a solution that even remotely survived contact with software frameworks, APIs and hardware constraints. A hundred different gotchas and restrictions lay in wait. The only way through them to a resilient solution is one step at a time. So, I can’t show you anything meaningful with Leetcode challenges unless I practice them as a discrete skill.
This, 1000x. This whole piece nails it, but this really jumped out.
I succeed and excel because I actually get things done, rather than "mostly done". No interview methodology ever can hope to screen for this. Or any of the other things mentioned above.
The process is getting worse, not better, and this piece rightly points out why.
Not sure about this. Past a certain level of experience (and given some prior knowledge of the system being worked on) I’d expect someone’s white boarded designs to come out close to the mark at least some of the time. Not always, maybe not even half the time, but “never in my entire career” would surprise me.
It's not terribly surprising to me that he simply doesn't have experience with coming up with architectures on the spot. Doing interviews is hard, from both sides. No candidate wants to seem arrogant by explaining that why the question/task/problem is bad in the context[0], so the frustration remains and gets vented in blog posts.
[0] Because roles (job descriptions) in the tech industry is so vague, and goes through so many hands. (HR, recruiter, engineering managers, job portals, etc...) And by the time the interview happens it's no wonder the parties have a lot of mismatched expectations of each other. And that's just the baseline, what the post describes is just plain old fucking shitty behavior in a shit job market.
Or, maybe they spent their career mostly building applications and not architecting systems. Those are very distinct skills.
Of course, it also doesn't help that in an interview context, "system design" can mean "design infrastructure to support a system," or "object-oriented design of a system."
It's not realistic to day dream yourself to a real product.
I realised this from the waterfall model days itself, where elaborate documents used to be written before we even wrote a single line of code. And every single time the paper planning would be totally useless and nothing like what the original deliverable would turn out to be.
People might have both, but some people only have one, and not the one you're hiring for. If they can ace Leetcode problems, or unicycle, or speak Klingon, that's lovely but irrelevant, and absolutely pointless to test for in an interview as a proxy for solving real world problems.
Unless you want to —literally— live under a Hitler, Stalin, Pol Pot, Mao, or Putin, democracies must always be better armed than autocracies. Autocracies always expand and take over less-well-defended self-determining peoples, and life under an autocracy always gets worse.
Obviously, it would be ideal if we didn't need to constantly and diligently defend ourselves from autocrats and would-be autocrats, they still exist in the world, and we must still defend against them. Yes, mistakes are always made, both in over-defending (e.g., Vietnam, Iraq) and under-defending (e.g., Balkans, Ukraine), but that does not eliminate the necessity. Wishing the world were different does not make it so, as much as you and I would like it to be so.
>> all the great things that these people could of done if they applied their talents to something meaningful.
Also, much of that work actually does get out eventually to products that are meaningful and useful to everyone. GPS, satellite communications, carbon fiber composites, and more are just a few examples of great things created initially for defense work, and that are now used universally. I work in carbon fiber and make things for everything from the DOD to sporting goods for kids.
None of it is a waste (anymore than there is waste and inefficiency inherent in any large organization). I hope that makes you feel a bit better about it.
When we were smaller, I was tasked with writing an interview question for JS devs.
I created a handful of unit tests that were all really easy questions technically, though maybe a little obscure, because they were designed to spark dialogue. Think "escape room", solve one test, move to the next. Google was allowed and actively encouraged.
But it wasn't really about the tests (they had to pass, of course, and shockingly some didn't). A not-very-good candidate would still make it to the end and solve all the puzzles and get a rejection.
The goal was to create a lot of jumping off points to sort of "break the 4th wall" and see what the candidate actually does to solve a problem. If I could get someone to search the web as the fastest way to solve something, that was almost always a great sign.
Sometimes I can see them building an inefficient answer and ask them if they'd like to search online for an easier algorithm, and remind them to treat this how they would actually treat their job. Some people stubbornly refused.
If I could get them jazzed to tell me about their editor configuration, that was almost always a good candidate. Because people who care about writing code care about editors. Do you hate vim? Great, tell me why. Do you love emacs? Show me a lisp snippet or whatever you think is cool.
I'd see a lot of `console.log({ foo, bar })` but also some `console.log("foo: " + foo + "\nbar: " + bar)`. I'm not judging harshly on any one particular thing, but I just want to see some level of craftsmanship about something. If you're from the java world, cool, show me some intellij tricks as you're working in webstorm.
Do you reach for the repl/debugger to try out ideas by default? Good sign.
To me it's simple: would I want to work with this person? could I recommend the company hire them based on how they work? I can't actually work with you, so I want the closest thing I can do in an hour that feels like we're on the same team.
I think the question is now retired because it didn't scale, or maybe it's still there with a rubric that invalidates the point of it.
If anyone's trying to do ML in this space, try softball questions that require more search and discussion than code, then NLP the discussion and ignore the code. Use internal mock interviews to train it to match your target culture. I think that would make this approach scale.
I personally found pretty good success with the people I interviewed this way as peers, but I wasn't in a position to find out if they were really successful or not by internal metrics.
I agree with much of your post, but just wanted to point out that many of these things are not universal. I personally have little interest in code editors and even less in discussing them, though I do use Emacs and will probably never invest in learning another editor. It's just a tool to me though, and writing custom lisp functions to make it work just how I want has just never been of my thing.
I probably shouldn't have picked text editor as the example, it's really not about that.
It's also a major source of WFM (works for me) syndrome, where something in your custom stuff is unintentionally needed by the build.
I'd rather be building things than playing with my tools. If I really need something esoteric, I'll find another tool or write a Python script
Like @kstenerud, I tend to keep the default settings as I am happy to just learn the default to at least avoid things from breaking, when the next IT/infrastructure update happens at "the company", or maybe I have to use a clean machine to do some coding.
Instead, I spend some time to look how I can be more productive (keyboard shortcuts, etc), and then will just leave it at that. I've had both types of colleagues: customizing/non-customizing, both types have been high performing.
A lot of the effort people devote to customizing their tools doesn't seem to be about productivity or effectiveness in any measurable sense.
Anecdata: don't think I have any? My best tools for years were pencil and paper, and I usually get things done, very fast.
So it's horses for courses.
I've spent a great deal of time modifying my editor config. I advocate for "tools day" where I work, which is a day where a team get together to share ideas about tooling and collaborate on config to make the team more productive. I regularly share what I change in my config with people.
I couldn't spend more than 30 seconds talking about it though. I have a problem, I solve it, I share the solution, and I spend no time or effort remembering what I did after that. It's one of the least interesting things about dev...
How do I easily attach the debugger? How do I jump between recent files? How do I use column mode to fix a bunch of sample data? How do I jump between file and test?
Junior devs by and large can’t do any of these things, and it has a material impact on work output. So I teach them.
I also for example press F7 to compile (along with 20 other shortcuts), so when confronted with a generic editor in a test I'm again wasting half my time struggling around on it.
Here's one of hundreds of articles that talk about this:
https://www.forbes.com/sites/forbescoachescouncil/2018/05/01...
Unless there's data that backs your choices vs the ones that you rejected, all you're doing is reinforcing particular stereotypes in your company and in the software industry.
And you.. don't?
> Unless there's data that backs your choices vs the ones that you rejected, all you're doing is reinforcing particular stereotypes in your company and in the software industry.
I've gotten plenty of training that makes it extremely clear that discrimination based on protected classes is unacceptable in all contexts, especially interviews.
At some point, you have to trust your team to build your team. Not everything can be blindly metrics driven.
You're hiring humans to work with other humans.
There are plenty of cases where discrimination against unprotected classes still happens. Cases where studies cannot find a correlation between selected candidates and things like retention rate, performance etc. These include cases where one would be skipped over despite having personality attributes the team is sorely lacking.
>You're hiring humans to work with other humans.
It's because we work together as humans, most of the things you said don't really matter. Most humans can work together despite their differences. That's one huge problem with hiring as a whole, trying to find carbon copies of each other while espousing they value diversity.
That's not to mention all this "one of us" hoo-ha just stimulates chameleon behavior. Which benefits the person opposite of you, but it doesn't do you much favor in the long run.
The problem in this situation is that YOU are the one acting as a gatekeeper as to who gets into the company.
The company should be the one setting the standards, and determine the best person for the job, and you should be able to work with whoever is best suited for the job, regardless of whether or not you like them.
This is where the unconscious bias comes from.
The point of interviewing is bias in the first place - to find people who are good - and it’s not unreasonable to assume that “I want to be good” and “this potential hire is good” would result in correlated features
Even rationally it doesn't make much sense. You're judging people on what they do in a year given how much an individual likes them and believes them to be good given a day's worth of input. Even if such an individual finds a lot of 'good' hits, nothing would tell them if it was this particular selection mechanism, other selection mechanisms, the workplace, luck, or none of them. The same goes the other way around for 'bad' hits.
Not to mention, if rationality worked, we'd see 'years of experience' have great correlation with 'good' candidates. Yet YoE always fails to contribute greatly given the presence of other metrics.
Interesting how things change. At a big, known software company they used to put a candidate at a computer running Visual Studio and ask him/her to write a program. That program would be impossible to code without including multiple winapi(?) calls and neither help nor internet were available. This was around late 90s/early 00s.
There are waaaay more interviews that say you can use a search engine and then take points off for doing it. There are way more interviews that are more like academia that rely on rote memorization for an assessment and would consider reference material cheating.
Industry needs a trade group just for interviewing practices. You’re so confident in what you wrote its comical.
Auditioning is nothing like being an actor, but that's primarily the only way actors get gigs. Unless you're so well-known that they seek you out. This is exactly the same thing as in programming. You have to submit yourself to a humiliating barrage of LC and systems design questions because that's how companies like Google have decided that's the best way to determine talent. And based on their multi-trillion dollar valuation, it's hard to say that they're wrong.
So unfortunately, unless you can come up with a better way, auditioning for your software engineering job is here to stay, just like auditioning for your acting job. So you might as well accept it.
If I was able to come up with a better way, I would sell it to Google and never work a day again in my life.
Pointing out that current methods suck is free advice, though.
and you are wrong that it’s there to stay. if people decide to no longer play ball and organize that will be the end of it.
the current system was created by a single woman who simply created it to build a consulting business around it. and you are all too naieve to see it.
When I can, I’ll outright ask if the client intends to do this kind of interview. If they say yes, I’ll explain my objection to the process and if they aren’t willing to modify their interview approach for me I will decline the interview.
I have on occasion had this sprung on my without warning halfway through an interview and I’ve declined to do it; most of the time I get hired anyway.
Whenever I can I try to convince hiring managers (and I’ve been one myself) to ditch leetcode nonsense for future interviews.
What do you like instead of LC?