426
u/Artistic_Trip_69 Apr 07 '23
I work for 10 months as a junior front end dev and I would probably fail this interview without googling some stuff 😁
654
u/canadian_webdev Apr 07 '23 edited Apr 08 '23
I work for 10 months as a junior front end dev and I would probably fail this interview
I've worked as a front end dev for ten years and if I were asked this on the spot, I would still fail it too so don't worry!
I've spent my time working on actual client projects, pulling in and manipulating data and more. These trivial JS functions asked in interviews like these, for a lot of people they'll only use said function sparingly in a codebase and then forget about it until six months / a year later, they suddenly need to look it up and figure out how to do it again because they've rarely used it. Such a bizarre way of vetting people.
He should be checking out your actual code on actual projects instead, and then having a technical discussion about it, in order to vet.
Edit - since this comment's getting traction (appreciate the gold!), I want to point people to this comment regarding code tests. First paragraph especially sums up how a good interviewer interviews!
10
Apr 07 '23
The four horsemen of "tricky" JavaScript questions:
Hoisting
Currying
Closure
Can't think of the fourth one 😂
→ More replies (5)7
62
u/larrybunsold Apr 07 '23
I'm pretty sure "manipulating data" certainly includes the most basic reason to use
reduce().To have a decade of experience and proudly not be able to answer these two incredibly simple questions is a little crazy to me. This is clearly an interview for juniors, so I definitely wouldn't expect an extensive Gitub/portfolio to dive through.
→ More replies (33)39
u/Karpizzle23 full-stack Apr 07 '23
“Enable browser autocomplete” im a tech lead that just literally worked on 3 forms for my company and I had to search this up lol. Its not about memorizing the minor details. It’s about being able to read something, understand it quickly, put it in context, and on a higher level, future proofing and thinking about edge cases. If a person explains something like that to me I’m more impressed than if they memorized the autocomplete attribute (which most of the time isn’t even necessary as browsers tend to guess what to autocomplete anyways based on labels, names, required attributes, etc)
→ More replies (17)13
u/turningsteel Apr 07 '23
I think I would solve it by looping through and adding the values to a counting variable and returning that. Reason being, I jump between different languages so I don’t always remember all the cute little shortcut methods. I hate that you need to prep for interviews by studying stupid puzzle questions and memorizing how the interviewers expect you to answer.
→ More replies (4)6
u/dcherholdt Apr 07 '23
Thank you! Now I know I’m not the only senior developer who have difficulty with these lame interview questions. Many of these type of questions are well suited for fresh graduates that still have a lot of theory in their heads but once you start doing real world problems your mindset change. You focus more on architecture than remembering the built in algorithms out of your head. I keep notes to remind me how to do trivial things all the time.
43
Apr 07 '23
Wut, arr.reduce() is used like a thousand times in our codebase for much more complicated shit than summing some numbers . Pretty fair and reasonable question there for summing an array. And I’m saying that as someone who hates live coding.
→ More replies (19)→ More replies (45)5
Apr 07 '23
Thanks for this. I was reading OPs post and was like “damn, I’ve been doing this 2 years and couldn’t pass this interview”. Your words brought me peace
18
u/isospeedrix Apr 07 '23
Almost all interviewers I’ve had allowed to google stuff. I think it’s a fair interview, sum of array is super basic, I’d argue most FE leetcode are harder than this. React app is involved so it’ll take awhile to build everything but a basic skeleton and talking thru architecture should suffice
7
u/wrekone Apr 08 '23
I'm in the same boat. I write React every day, but I've never once had to create a form. If I did, I'd just look it up.
7
Apr 07 '23
Im a Senior dev and recently failed an interview over something trivial. I was asked to create an object then swap the key for the value and vice versa. So “name”: “jason” would then be “jason”:”name”.
I went completely blank and couldn’t think of the solution. Ive never had to do that and don’t know why I ever would. The follow up question involved reversing a string without using built in functions. Again, why would I do that let alone without built in functions that were designed for that?
These tech trivia questions are so ridiculous and really make you question if you actually are a competent programmer when in reality they’re just gotcha questions.
My current job gave me a take home project that Ive literally done at the actual job. One interview was a technical discussion relevant to the job. Guess what? I passed no problem, funny how that works.
→ More replies (5)6
u/mfizzled full-stack Apr 07 '23
Working as a junior dev for around 15 months, I would 100% fail this without googling 😂
3
u/Fidodo Apr 07 '23
In my interviews I allow Google! (I don't allow them to look up the exact solution, but any reference is fine). There's far too much to know these days to get by without some help from Google, and even ide auto complete and documentation popups can be considered looking up references so I don't think it's valuable to test what people have memorized. I want to see how you approach problems and how you think.
I think this is going to become even more especially true when LLM programming assistants mature. We'll no longer need to memorize every reference, but we'll still need to be able to direct it and review and incorporate its code.
→ More replies (14)1
u/notislant Apr 07 '23 edited Apr 07 '23
Honestly the arrow vs regular functions threw me off. Looked it up and they dont take parameters, just from the scope? But I would assume if you declared it as:
const pointyGuy = (params) => {} then its just taking parameters like a normal function once declared to my knowledge?
→ More replies (1)8
u/doctorMiami1337 Apr 07 '23
The first thing that would come to mind regarding this question imo is the different behaviour of an arrow function vs a regular function in like a class and the behaviour of the this keyword inside them
What else would you even talk about there?
→ More replies (1)
50
Apr 07 '23
Why is a red flag working in a “non-agile/product environment”? What is the logic behind this self imposed rule?
→ More replies (8)
21
u/Snapstromegon Apr 07 '23
I appreciate the openness and it's definetly better than some I've experienced. Nevertheless I have some questions back:
Non-agile environment: I personally worked as a DevOps engineer in the automotive sector. Our projects are usually strictly V-Model (sometimes for customer compliance reasons, sometimes legal reasons are involved). From that the "automotive-scrum" was born, where teams can work somewhat more agile, but in the end it still fulfills a V-Model style work. So if you'd ask me wether or not I worked agile, I'd probably ask back wether you mean that our workflow is following strict agile rules, or wether it's an agile way of working, because we as a team definetly picked when we did what and we (especially as the DevOps team) were able to be agile in going back and forth and iterating from sprint to sprint. Nonetheless we'd know more or less from the start of the projects what exactly we'd have to deliver in the end and there wouldn't be close to no agillity in that. So my question is, how you'd rate that under that point?
The JS function: What do you think if a candidate immediatly comes back with questions like "I understand that this is just a basic task, but do you prefer a functional style that e.g. uses array methods like reduce, or an iterative style with loops?" or if the candidate immediatly asks wether you prefer arrow vs. function? I personally agree with Jake Archibald that .reduce() (while often shorter) is not as easy to parse as a for..of loop.
React: What would you think if a candidate would pick a framework that does not use JSX at all like Lit or even go vanilla? I've worked on more than one project that broke the 10k concurrent user mark that did exactly that and while it's "harder" to do correctly, from my experience as the interviewing party, devs that choose the platform or lighter tools over react for such simple elements often have a better understanding for the platform and are (from my experience) able to produce better code in general.
9
u/vklepov Apr 07 '23
The point on "agile" might be worded too strictly. Generally, I'm looking for people used to having a wider responsibility area and communicating with others to get the best result, not just slapping tickets, regardless of the "label" pinned on their management style.
I don't care how the numbers are summed. Knowing several options, and especially having an opinion on them, is a bonus.
We're hiring for svelte, so you're free to build the form in whatever tech you're comfortable with, and I'll try to make sense of it. Looking for the overall understanding of FE and product thinking here rather than code per se.
→ More replies (1)
57
u/gradual_alzheimers Apr 07 '23
Interesting. A couple critiques I have for you. I would suggest having the applicant complete a few leet code medium problems especially concerning dynamic programming and balancing trees.
Then once you’ve established baseline move on to something interesting that can show case their abilities. A good start is a simple transpiler that can take any arbitrary JavaScript (backwards compatible to ECMA1 of course) and convert it to another language. Once they’ve demonstrated that, I’d suggest having them discuss the asymptotic complexity of back propagation contained in neural networks, they should be able to show that dynamic programming techniques can reduce the runtime. This should show they have aptitude and are promising candidates.
Once we have cleared the basics, we can move on to the real fun. I’ll ask them to solve a leet code hard problem in 30 min or less. After that, they will be asked to detail the basics of a distributed LRU cache using AWS lambda functions in a stateless manner. Next we will prove that P = NP.
If the candidate passes this phone screen we can move onto the on-site interview where they will battle our CTO in hand to hand combat. If they prove worthy they can join our team as a junior engineer working on exciting new features such as adjusting our intranet to match the new color theme from marketing post rebrand!
/s
5
17
Apr 08 '23
If the candidate passes this phone screen we can move onto the on-site interview where they will battle our CTO in hand to hand combat. If they prove worthy they can join our team as a junior engineer working on exciting new features such as adjusting our intranet to match the new color theme from marketing post rebrand!
Most important part of the interview IMO
111
u/trs21219 Apr 07 '23
When I give interviews for backend candidates (PHP/Laravel Ecosystem) I do a similar approach. No solving stupid fizz buzz, no questions from Google like how many golf balls fit in a school bus. Just sitting down, talking through a realistic problem we are trying to tackle and determining if the person knows what they are talking about or is full of shit.
Don't know something? Ask. Want to google something? Go for it! Just show me your approach by sharing your screen so I can see how you reason and break down problems. Hell the code doesn't have to be perfect if you can explain what you would do to make it better with more time. The real interview is the first 90 days of employment where we can see how you actually work with the team and get shit done.
52
u/vklepov Apr 07 '23
I'd say "array sum" is a fizzbuzz-level question. Also, I interviewed with Google last year, and, surprisingly, got zero golf ball stuff.
And yes, the trial period comes is really handy sometimes.
8
u/trs21219 Apr 07 '23
Yeah I’m not necessarily doing “array sum” kind of questions. Mostly I pull a relatively low barrier to entry ticket from our backlog and try to have them work through it. Generally I’d pick one that touches a Controller, Model and does some kind of logic. Then ask questions around why it works, how it could be better and if they are for a senior role ask deeper architecture / refactoring questions.
→ More replies (4)12
u/Smashoody Apr 07 '23
You are a rarity these days. I long for the days when it was just sleeves up and let’s write some code, or you’re gone quick. It wasn’t easy, but it also never felt unfair. Simpler times I guess. Glad to hear the 90 days sink or swim pragmatism isn’t gone!
7
u/trs21219 Apr 07 '23
Yeah I’d say the first 90 days are about half code and half if they can work with the team, communicate to leads/pms around tickets, manage expectations when shit inevitably goes wrong, etc. Basically all the stuff you can’t really figure out in an hour interview. We will give them every chance and opportunity to improve, btw, but I’ve found that the 90 days let’s you generally figure out if someone is just way below what is expected vs still picking up the new environment.
→ More replies (1)
81
u/wolff Apr 07 '23
I see family listed in your informal talk section. It's good to be careful about unconscious bias and protected classes like marital / parental status. There's a pretty big list of topics that are good to avoid asking about as an interviewer. It probably varies by local laws so consider checking yours if you haven't
→ More replies (10)
25
u/alphrZen Apr 07 '23
"who was on your team"
Lmao why?
I don't think you know them hahaha
4
u/vklepov Apr 07 '23
Well, if you don't know them either its a bit concerning)
21
u/alphrZen Apr 07 '23
Of course I know them. What is the expected answer?
I would say something like "well, on my teams was David Koresh, Miguel Hernández..."
I don't understand why this is relevant if is probably you don't know any of these names
→ More replies (2)8
u/vklepov Apr 07 '23
I like it, you're funny 😆
Now seriously, I j expect something like "2 engineers, a designer and a PM"
12
u/alphrZen Apr 07 '23
Ooh, gotcha, -10 IQ lol
Probably my bad, but I think you can rewrite the question to something like: what roles were in your team?
Idk, just like suggestion haha
→ More replies (1)
56
u/vklepov Apr 07 '23 edited Apr 07 '23
A few things to note:
This is a flat interview structure for all seniority levels.
You can't really memorize the list of answers, as opposed to leetcode.
The problems are easily varied — replace sum with min or unique count, swap login for SMS code, etc.
I usually ask higher-level candidates to make spec & design for the form.
The sum can be written in any way that works. Listing several options is a bonus.
The form can be built with any technology. We use svelte, it's supposed to test general understanding of how FE works.
If we finish early, I'll throw in some higher-level architecture discussion.
One downside is that, as an open-ended question, the login assignment is pretty subjective.
9
u/deadwisdom Apr 07 '23
Personally I would use HTML for the login form, but I know that’a pretty cutting edge.
3
u/vklepov Apr 07 '23
Perfectly cool, I'm surprised no people attempted this yet. We'd prob spend some time on styling and displaying valuations then.
25
Apr 07 '23 edited Apr 07 '23
I've no shame in admitting that I'd fail the array sorting question hand over fist. Just not something I find myself doing often, in any FE role I've had actually.
Building the login form would ironically be a piece of cake.
Swings and roundabout, But I think it's a fairly good structured 'test' - there's nothing in there to 'catch out' anyone who knows their stuff.
Edit: Just for clarity on this - I mean I would do ugly loops on the array etc, rather than reduce etc , as I simply don't work with reduce in my 'day to day' so would fumble about during the pressure of an interview. I can loop! .... I think...
→ More replies (23)4
u/vklepov Apr 07 '23
Ah, of course anything that sums the array is fine (for-index, for..of, forEach, reduce).
→ More replies (3)2
u/AraAraNoMi Apr 07 '23
What's a spec?
1
u/vklepov Apr 07 '23
Basically, I tell you "we need a login form", and you come up with the requirements for this, e.g.
Has two inputs, one for login and one for password, and a submit button
Has a button to show/hide password
You can't submit without filling both fields
If the credentials don't match, show the error under an input
If network fails, the button turns red
→ More replies (2)2
u/aleph_two_tiling Apr 07 '23
What is the relative utility of asking about obscure language semantics (const vs let, arrow vs function)? I have a PhD in CS and would have to look these up because I don’t write much JS, but I also can write a front-end competently.
Edit: I did look up the let thing and JavaScript is so weird.
2
u/vklepov Apr 07 '23
That's not obscure, but something you work with every day. Phew, you've never seen real obscure stuff people actually ask.
We are trying to screen for working JS proficiency, yes. What do you write frontend with, if not JS?
3
u/aleph_two_tiling Apr 07 '23 edited Apr 07 '23
Oh I’d write it in JS but I’d also just Google the difference between const and let the first time it came up. I’ve used so many languages on so many teams now that bothering to keep the exact API and deep semantics of other languages in my head just seems pointless, I guess. As an example, every list API has a way to find the index of an item in a list, but I can’t tell you the exact name in Haskell, Python, and Java off the top of my head. I don’t think that makes me ineffective in those language; I’ve written whole compilers in each. It seems you’re looking for someone who is good at JavaScript/CSS, not at programming.
→ More replies (5)→ More replies (13)6
u/r0ck0 Apr 07 '23
the login assignment
Are they allowed to browse the web to look stuff up for this?
10
u/ApatheticWithoutTheA front-end Apr 07 '23
The only thing I disagree with here is “worked in a non-agile environment for a long time” being a red flag.
That’s not exactly under an employees control. Sure, you could argue that they should have moved jobs. But if the checks are getting deposited and the money is good, I don’t see a reason to solely because there’s no agile methodology.
There’s a lot of jobs out there that are just a few people on a dev team and they aren’t using Agile because it’s overkill.
4
u/vklepov Apr 07 '23
Could've said it better. What I mean, 8 years in a code wheatsop where you turn figma into CSS, no questions asked, can cause quite a culture clash and false expectations.
6
u/LePaxton Apr 07 '23
Code interviews in general are a huge reason why i didn't want to further pursue a job as a developer for now after working as one for almost 6 years. Because every company thinks they have to do some google type interview even when their projects are not even close to being that complex.
3
u/vklepov Apr 07 '23
Do you genuinely feel like "array sum" and a three-element form are Google-grade trick questions?
2
u/LePaxton Apr 07 '23
No not at all, and my comment was not meant to criticise your process. It's more a general issue that I have with those kinds of question because most are just hyper specific and can therefore just be learned for the interview. That's also why there is literally a market for selling interview preparation courses / questions. I just think such questions are a bit odd and not something that really shows if someone understands a certain topic. But then again I understand that it is very hard to properly test someone's knowledge in such a short amount of time.
2
u/vklepov Apr 07 '23
In fact, I think the form task, especially with some variation, is much more difficult to memorize than the horribly leetcodes you often get. Basically, by memorizing it, you've just learnt decent react.
In general, I think, you can't go less technical than this without going into "vibe-based hiring" territory, for better or worse.
82
u/onesneakymofo Apr 07 '23 edited Apr 07 '23
Lots of stuff in here that would give me anxiety interviewing with you imo.
5 minutes about themselves? Should be 20-30 minutes at least, with you / your candidate getting to know each other - "Oh you like video games too? What are you playing right now?" "Oh, what got you into baseball?" etc. This does a few things: 1) I'm more concerned if you are going to work well with my team. The more comfortable they are, the less stressed and the better insight you have into them as a team member. 2) It opens the door up to a better interview as well since they're not as stressed. 3) It shows their style of communication - are they passive or engaging? Do they sit back and let you talk or do they carry the conversation? Lots of good stuff can come from 20 minutes of just chatting.
Why does knowing their previous team matter? It's not about who they worked with, it's about who they are as a candidate. This should also be answered from a resume.
Why does knowing who brought the tasks matter? Ask them if they have ever been given a problem that they solved themselves - if they have been, lean more into that.
Why is working in a non-agile / product environment a red flag? People can work in that environment and still adapt to a different environment (or have worked in a different job in a agile environment)
It's been proven that live coding limits your candidates' abilities during the interview. Most are already terrified so now you're adding the stressor of not just one but two challenges. Ask for their favorite project they did themselves instead. Screenshare to walk through some of their code together - ask questions and engage to see if they are passionate about it. If they don't have any sort of project, do a 1 hour take-home and then discuss with them in a different call doing the same thing as I said above.
Start up chaos should be well mentioned before this interview even takes place. Don't waste my time or your own time.
All of the things you listed here, and it's been proven time and time again, are how well your candidate interviews, not how well your candidate is at a job. The more questions you ask about what they did in their career, the more you can see into how they work. Please adapt your questions, and you will have much higher quality (and potentially longer tenured) candidates
11
u/vklepov Apr 07 '23
I see where you're coming from. First, I must say we hired some pretty cool candidates with this, so whatever works for you, right?
Overall, you seem to think it's some super strict routine. It's not. The intro part can be extended, and gradually flow into the experience section. Overall, I think it's better to focus on the work experience rather than baseball, because I'm looking for an engineer, not a buddy. Also note that we all work within a certain hiring culture, and there's only so much playfulness you can do before alerting HR people.
Explaining the team structure and processes indicates an understanding of how your work fits into the overall product and business. Anyone can throw product here, design there onto a CV, but trust me, not anyone can explain how they interacted outside "designer gives me figma that I must turn into CSS".
As for "non-agile", I've worked with some people who were stuck in govt jobs / deep banking for 10 years, and, sadly, the change is very stressful for both them the team, and rarely works out well. Maybe not an immediate no-hire, but something to be vary of.
One thing you gotta give me, it's certainly better than 3 leetcodes in ascending complexity that you often get.
→ More replies (3)3
u/onesneakymofo Apr 07 '23
I'm looking for an engineer, not a buddy.
That's my thing - I'm looking for both. I don't care if you're the best engineer in the world; if you're not fitting into the company culture, you're going to be a hindrance on the progress of the company we're trying to build.
As for "non-agile", I've worked with some people who were stuck in govt jobs / deep banking for 10 years, and, sadly, the change is very stressful for both them the team, and rarely works out well.
Interesting - I have not seen this in my years. The closest thing I've gotten is a COBOL engineer who adapted easily. I guess it's subjective.
→ More replies (1)29
u/erm_what_ Apr 07 '23
Your ideas give me anxiety. 20-30 minutes talking to someone I don't know while I know I'm being examined would be awful. I'd much rather show I can write some code and talk about a specific problem or product.
The style needs to be adaptive depending on who is sitting in front of you, but regardless you need a way to show they can actually produce code and aren't all chat.
13
u/originalchronoguy Apr 07 '23 edited Apr 07 '23
5 minutes about themselves? Should be 20-30 minutes at least,
Why does knowing their previous team matter? It's not about who they worked with, it's about who they are as a candidate. This should also be answered from a resume.
Why does knowing who brought the tasks matter? Ask them if they have ever been given a problem that they solved themselves - if they have been, lean more into that.
Why is working in a non-agile / product environment a red flag? People can work in that environment and still adapt to a different environment (or have worked in a different job in a agile environment)
I can answer a few of these. Some interviews are screeners. E.G. 30 minutes to see if they are good enough to go to the next round. So 20-30 about themselves will take up the whole convo.
Previous team question matters. Hiring someone who only worked with 2-3 devs their entire careers may not fit in well with teams of 30 with multiple code committers with overlapping git commits, diverging git flows and endless blockers.
Knowing who brought the tasks again matters in technical orgs that follow change management and process. For accounting and tracking purposes. It means this experience has organizational experience and will not be slowing down the teams.
Agile. Same thing for some orgs.
I've hired solo developers and they were a bit mess. They did things like commit directly to Master. Did not squash commits. These were midlevel devs so all the juniors had to spend time cleaning up after that one person. Time over time which took away time from other people. Not following agile meant, some guys coded up 1 day before release with no time for QA to do testing and validation. And since they already committed throughout the sprint, incrementally merging to develop branch, and don't do proper git squash, all their code was polluting the git lanes. Which again, takes time for others to clean up. Can't do an easy reverts when the commits are polluted with 20 feature branches and some dunce merges incrementally to non feature branches. And expect everyone to validate his code day before release. Nah, that aint gonna fly.
So yeah, this stuff matters in highly competent engineering teams that follow some sort of process. So yeah, I am gonna ask what their team size was and the make up of their teams. A person in a team of 2 will usually have problems working in larger groups. I rather ask about team size then go deep dive into git commit conflicts. The one answer can usually give me three different answers I need to know.
→ More replies (17)2
u/r0ck0 Apr 07 '23
5 minutes about themselves? Should be 20-30 minutes at least
That seems pretty extreme to me for a 1st stage interview.
Maybe for 2nd stage interviews, once you've culled the list down a bit.
Or otherwise you're only interviewing like 5 people in the first place.
But with larger numbers, that's a lot of time.
5
4
u/CiggiAncelotti Apr 07 '23
What’s wrong with working in a product role for too long? In my experience, people who have worked in product for a long time is something I look for. They have the kind of depth in a certain area that is necessary. Services people have their own super power of being jack of a lot of trades and being flexible but that is something that varies company to company. Since you mentioned you are a startup-like company so just wondering
2
u/vklepov Apr 07 '23
No no, you've prob misread this. I mean "non-product environment", as in "code sweatshop with zero collaboration".
I've been surprised myself after being rejected based on my "product management" response so the obligatory "where-do-you-see-yourself-in-5-years", sounds like a decent aspiration to me.
→ More replies (1)
4
u/justinbutt3r Apr 07 '23
If I get asked to do stuff like this before I get to know anything about the company and what it's about it's a red flag and I'm saying thanks but I don't see myself at company.
2
u/vklepov Apr 07 '23
We obviously have an HR screening and usually a tech screening before the technical interview.
11
Apr 07 '23
This is very well thought out, but is still of the school of "I can evaluate people accurately based on their performance/behavior in an interview" which I think we've seen, time and time again, to not be true.
A better method is to have them walk through their career, in its entirety, with you. Have them tell you about every project they've worked on, every team they've been on. Ask them names of people they've worked with, and then follow up with some number of those people (NOT references they pick).
Have them explain the work they actually did in professional situations, then ask about those situations from the perspectives of those people who've worked with them.
It's a conversation, not a performance, and treats the interviewee with a lot more respect. You're just two professionals, talking about real situations. People are a lot more comfortable, and reveal their true selves a lot more easily this way.
It's a little weak for early career roles, but even then you can go through non-professional work, a la school, bootcamp projects, stuff they've worked through on the side, previous work in other fields, etc.
But no, I really don't think we should continue to perpetuate the idea that an interview is a performance, that people should have to dance for their food. We can provide more dignity than that, I think.
2
u/vklepov Apr 07 '23
While I half-agree with you, it's also not true that you can evaluate people based on how they present themselves in an interview. As we say in Russia:
You're Leo Tolstoy when you speak
But when you act, you're just a dick.I've met a few people who could give a brilliant overview of their career and were very soft-skilled and convincing, but still totally unable to program. Not necessarily bad, but something to consider for a position that involves a lot of programming.
4
Apr 07 '23
...which is why you also talk to the people they've worked with to get alternative perspectives on the same projects.
And you're not asking "what would you do" questions, you're asking "what did you do" questions, so any bullshit is super easy to discover when you talk to the people they worked with at the time (and you must talk to people in their stories, or yeah you'll risk getting gaslit).
→ More replies (10)3
u/vklepov Apr 07 '23
I see, follow-ups are really a crucial part of your approach! Interesting, but not sure I'm confident about this. If some random dude asked me about my past coworker, I'd probably tell him they were cool, and I guess that's what many would do.
4
Apr 07 '23
I'm not saying "Ask if they're cool" I'm saying, "Ask about the candidate's specific role on the specific project the candidate mentioned."
You're not trying to get the reference's "general vibe" on the candidate, you're asking specifics about their perspective during a time you already discussed with the candidate. Sometimes I guess people won't remember, but I've never encountered that.
This is much more effective than trying to get the candidate to dance in front of you, if your goal is to find top people. Bad performers are often great employees precisely because they don't care about hypothetical or meaningless work.
Your proposed strategy here is going to result in more false positives than mine (and allows bias to creep in too, which you know is risky), and at least in my world (startups) a bad early hire can kill an entire company. We can't tolerate that kind of mistake, and a mistake it would be on our part if we didn't do as I'm describing.
→ More replies (2)
3
u/anticipozero Apr 07 '23
Why is having worked in a non-agile environment a red flag? I would think it is one of the easier things to get used to a new type of working environment
2
u/vklepov Apr 07 '23
Guess what I meant to say is, I expect you to be comfortable communicating and taking some product decision. That's it.
→ More replies (1)
3
u/darkpouet Apr 07 '23
You're getting flamed here but i think the questions are really reasonable actually, the reduce would be my first instinct as well here and the difference between arrow function and regular function expression is something every FE dev should know by heart. I would even push a bit more on the specifics of J's, mutability vs immutability and the like.
1
u/vklepov Apr 07 '23
People reasonably have strong opinions about hiring, and choose to ignore the constraints. Overall, the 90% upvotes are reassuring.
I usually add mutability as a follow-up to let vs const, and people who struggle at this level generally perform poorly on the form task.
3
u/lIIllIIlllIIllIIl Apr 08 '23 edited Apr 08 '23
I really love those posts! Keep em coming!
I actually started interviewing for frontend positions, and used your previous blog posts like Seven habits of bad interviewers as a starting point to structure my interviews in a way that doesn't suck.
Our interviews look like yours, but I still feel like a terrible interviewer most of the time. Discussions with senior candidates often go like this:
Me: So, how would you do a network request in React?
Interviewee: Well, we use Redux Thunk to do it.
Me: Cool! I'm not very familiar with Redux Thunk. Can you explain to me what it does?
Interviewee: Well... uhm... Its a middleware that does requests in an async way... and... it updates the state asynchronously, you know?
Me: What do you mean by that?
Interviewee: Well you know? You can delay updates... in an asynchronous way... so the UI only updates the state after it receives the update... asynchronously...
Me: visibily confused
How do I recover from this? I just wanted the guy to talk to me about useEffect and React Query. Am I an asshole for asking technical questions? I felt the question was high-level enough not to be a "gotcha" question. Is the akwardness just part of the process? Is it my fault for not knowing Redux Thunk? Is the candidate at fault for shoeboxing himself into an answer he couldn't explain? Do I just have imposter syndrome?
I usually just move on to the next question I have. I feel bad for "ignoring" his answer, but I'm afraid of digging deeper, giving hints, and making the whole situation worse.
3
u/vklepov Apr 08 '23
Thanks, it's really great to hear! I'm pushing this stuff because most interviews I've been to involve some leetcodes and quirks, and if I encourage even a few people to loosen this approach, without suggesting something overly radical, I call it mission accomplished.
As for your react request task — you present it as an abstract question, yielding an attempt at an abstract answer. I'm sometimes thrown of guard myself by this, e.g. "when is observer pattern useful?". You might try a more action-oriented format, like "how do we load the bank list from a /banks?name=... endpoint?".
Overall, most junior- to mid-developers normally work on regular tasks by example, in a strictly defined architecture, but don't necessarily understand how every layer beneath works. For better or worse.
→ More replies (1)
5
Apr 07 '23
I really like your first JS question for a FE interview.
This problem can be solved in so many ways. It shows where someone is with JS, how much do they know? I would expect an experienced JS dev to be able to solve this in a variety of ways and be able to speak about the tradeoffs with each.
3
4
u/isospeedrix Apr 07 '23
I’ve interviewed for 10 years. This is a fair and solid interview. The leetcode question is basic and can be done with a single loop with a counter. React app is huge but I’d reckon with time constraints the candidate wouldn’t have to produce working code for all features. Working code for the basic part and just talking thru how to do the bonus features should suffice. Actually coding all the bonus parts would be 2+ hour long task.
I’d might omit the extra features for junior devs, might be too intimidating. Autocomplete is no joke
1
u/vklepov Apr 07 '23
Yeah, for the form I just expect a single component with relevant state and no CSS, given an async api.login function.
4
6
u/CaptinKraken Apr 07 '23
This is a very straight forward and typical job interview. I'm shocked at how many people are so offended by layout and line of questions. From this setup you can gain a great deal of both technical and soft skills from a candidate.
If you have been apart of an interview with this layout, then you'll realize how much of a breathe of fresh air it is, compared to "dictionary memorization" or leetcode interviews. These questions are right in line with what you'd actually be doing and solving in your day to day. So as long as you be yourself and explain your thought process, the interviewer will be able to determine if you'd be a "good fit".
And to the folks that say the screener function is too hard... Just because the "final" answer is one line, don't be scared off by that. Talk through how you intend to solve the problem, and you should be able to get to this answer. But also, es6 and reduce have been around for over 5 years. They are very commonplace when working with data in tables and/or any UI framework.
1
u/vklepov Apr 07 '23
I'm actually surprised how mad people get treating reduce as THE solution. I literally don't care how it works as long as you return the sum, and giving a few options is a bonus.
5
u/originalchronoguy Apr 07 '23 edited Apr 07 '23
I take a different tack in the exercise section.I usually want to know how an FE consumes an API. The entire lifecycle (choose your stack). Once it consumes with http client. How it is stored, disposed in the lifecycle. How it handles async (race conditions/promises/observables). How to make sure components on that page use that data without making multiple noisy multiple calls. So one element might be a select list to filter cities, And a second component is a table with cities. Maybe a 3rd that shows a map div from the filtering of the return JSON from the api.
And propagation across multiple components. E.G. It is a list that renders a table with rows and cells. How is that table rendered from that data. When you select an option, how you pass to the filter. And when you render the row, do you create child components for the cells (for different render types - image, text). Or did you do it all in the for loop of the render. How you manage the decoupling of those pieces.And how data is propagated from parent to child or child to child components on the page.
To me, those are the core fundamental skills I need from a FE.
5
u/vklepov Apr 07 '23
Whatever works! As you can see, the form has some async behavior during submit, very valuable.
For junior devs, I don't expect familiarity with API layer / state management. They'll be working with what we already have, and it's my job to make this layer foolproof.
2
u/originalchronoguy Apr 07 '23 edited Apr 07 '23
I use this as a broad stroke for juniors, midlevel to seniors. I can them determine their level. Midlevel & seniors should be able to talk in broad terms. Juniors, I can gauge where they need mentoring or where they fit in.
They don't even have to write a single line of code here so they don't feel that pressure. But if someone is applying for Angular and claims to have angular experience, you can tell right away if they can't explain lifecycle hook of ngOnit. Sure some of them stumble but they can kinda point in the right direction that it is in the constructor so they don't need to remember the exact terms.
That is why I let them choose their stack/framework they claim to know and let them run with it. Passing data? Again, with Angular they can say they use decorators. In Vue, they might use decorators or emit. Plain javascript? They might use globals/localStorage (anti pattern) but they can still explain those concepts/approach.I may skip the API consumption part if they are that entry level and focus on a list and how to render a table with decoupled components.
2
u/vklepov Apr 07 '23
Fair enough. I've seen some people claim they're experts in both React and Vue, then proceed to writing half-react-half-vue, which is certainly next level mastery.
373
u/AdminYak846 Apr 07 '23
The structure seems fine, however for me with the experience I have with coding. I wouldn't even bother with the login form. For more experienced developers I would recommend giving them some sample code that has some logical errors (not syntax based) and see if the candidate can offer suggestions of improvement. You could also phrase so that you're a junior developer and see how they give feedback.
Some of the better interviews I've had were ones where writing code wasn't a requirement. The interpersonal skills that relate to others and feedback feel more important for a team than knowing how to build a login form or SMS/2FA workflow. Or at the very least have the candidate draw out what the flow process is for that type of interaction at a high level.
278
u/affrox Apr 07 '23
Gosh, please tell me where to find these types of interviews.
I'm not the best developer, but I know how to read documentation, Google, and figure things out. However, tell me to create a React form on the spot and I may not be able to do it.
117
u/grumd Apr 07 '23
I had an interview for a senior full stack role. They asked zero technical questions. Simply asked what my responsibilities were, what I have built, etc, and were happy enough with my answers to give an offer. It was unexpected but I enjoyed it
→ More replies (1)77
u/Ikuu Apr 07 '23
Best job I had asked zero technical questions. Spent the time talking about ourselves and tech we liked etc. All the worst interviews I’ve had have wasted my time asking technical questions that they pulled from some React Interview questions list.
→ More replies (1)64
u/designersheep Apr 07 '23
Seriously, who writes code from memory? I have had successful interview in the past where I was asked a technical question and answered instead by telling them what I would do to find out how (eg that I don't know and I would look at Stackoverflow and Google for best practices). Being able to articulate the process is just as valid an answer imho
→ More replies (1)39
u/tiesioginis Apr 08 '23
I had interview where they wanted me to code up a CRUD on the spot, gave me a laptop, instead of coding I layed out my plan in notepad how I will solve it, what I will use - technologies and why I will use them.
They gave me hour, I was done in 5 minutes and said "I don't want to waste your time with code, here's is how I would do it" they asked few questions why I chose what and that's it.
They were impressed, said I was the only one who understood the task and got the offer. Tbh it was totally a bait to see if you are code monkey or you can actually problem solve
→ More replies (3)→ More replies (1)7
u/jzaprint Apr 08 '23
all of my fe interviews, they let me google stuff and look up docs. Ao its just like building a feature on the job, except way less scope
→ More replies (2)8
u/kin-g Apr 07 '23
As a current undergrad I appreciate this perspective. I think experienced and fresh employees should be held to the same standard and that it should largely be conceptual at the interview stage. As long as a person can understand/find the problem, they can solve it given time and would likely be able to produce a better end product than somebody who’s just got manuals memorized.
2
u/IchirouTakashima Apr 07 '23
love this, I have a question, do you have any questions you can cater to people who were unemployed and used that hang time to dedicate themselves to a career shift?
2
u/vklepov Apr 07 '23
I think that's an interesting discussion point! I normally ask what their job involved (nice small talk + look for transferrable skills), and how / why they learnt coding. As for the coding part, not much difference.
→ More replies (1)
2
u/Fidodo Apr 07 '23
How do you do the experience portion in 5-10 minutes? I need like 15-20 minutes to ask enough questions to figure out anything meaningful since everyone kinda gives the same kind of answer at first which is basically talking about what their team and company did. To find out what they did and what they actually know I need to ask much more in depth questions and that takes a while.
1
u/vklepov Apr 07 '23
I guess it's doable if you focus on the last job. A nice way is doing your CV research, and asking more focused questions, like "What did you do on a normal day when building a TODOapp for BingoBongo?"
2
Apr 07 '23
I've needed to use .reduce about five times in seven years.
1
u/vklepov Apr 07 '23
But you can sum the numbers in some way, can't you? It's pretty sad everyone thinks I'm wild enough to have THE ONE answer.
→ More replies (1)
2
u/Skater6967 Apr 07 '23
so.... so what about the baby dev's fresh out of college with no experience? asking for a friend of course...
1
u/vklepov Apr 07 '23
Oh, for newgrads I normally replace the experience section with stuff like projects / courses you found interesting, if you have any personal projects, and so on.
1
u/Skater6967 Apr 07 '23
lmao I suppose scripts for space engineers doesn't really count
→ More replies (2)
2
u/Zaitsev11 Apr 07 '23
Do you ask business related questions? For example, what is the benefit/drawbacks of building your own login vs integrating with an existing IDP for OAuth / SSO?
2
u/vklepov Apr 07 '23
I often ask when you choose to use a library vs rolling your own solution as a misc question. I don't think theres a right answer, just curious to see a perspective.
2
u/Utukkhu Apr 07 '23
Interesting approach. Love the openness and sharing it! Do you get enough information about the tech skills with this?
2
u/vklepov Apr 07 '23
I think so, yes. There's a really big gap in confidence between juniors and seniors in the login task. Overall, the CV gives you a pretty good idea about the level, we're just validating it and seeing how you collaborate with the person.
2
u/Ikuu Apr 07 '23
Allocating 5-10 minutes for talking about experience is a massive red flag. Honestly if I interviewed somewhere and they conducted it like this I’d either reject the interview or end it during.
1
u/vklepov Apr 07 '23
Mind you, we have several interviews. If you're unable to give a brief overview of your latest achievements and choose to walk out, well, fair enough.
2
u/umlcat Apr 07 '23
Non agile as red flag is been over focused with that.
Agile may be a way to work, but us should not been seen as a religion to follow.
Same does with scrum, micromanagement, dependency injection ...
1
2
u/sheriffderek Apr 07 '23
I think this is a great outline.
I'm curious how you would respond if they hadn't used React.js before. (Maybe that was specified in the initial job description )
What would you say if the candidate suggested they do it with vanilla JS, Rails, PHP, Vue, or a combination for progressive enhancement - or Svelte, etc? Or what if they just looked it up in the React docs and learned it in front of you - and had it going in a CodePen in 20 minutes even with no previous React experience? Are you looking for React experience - or the general conceptual things a form brings up?
I really like this book: Exercises for Programmers (57 language agnostic exercises). I do a similar thing where I can pull a challenge from there.
2
u/vklepov Apr 07 '23
Oh, as I mention elsewhere, the form can be built with whatever tech you're comfortable in. In fact, our team uses svelte, but nobody had prior experience with that, and it works fine. It's just that most developers have experience with react.
876
u/wishinghand Apr 07 '23
One thing that I’ve started to do is showing real code from our codebase and having the candidate walk me through what it’s doing. I find that reading code is a skill that isn’t selected for enough. I start with simple or very readable code and then progress towards complicated or spaghetti code. I occasionally ask how they might do it differently but I don’t make them rewrite code or essentially do “work” for us. I do drill down on their answers though, asking them to get specific.
270
Apr 07 '23
That’s what my boss did on my technical interview. Shoved me into our biggest project and asked me to walk him through a few function calls, starting from the front end all the way to the backend. After that he asked me to make a few modifications. It proved that I can understand and manage myself around the code which imo is more important than just writing code.
257
Apr 07 '23
This would be so much better than live coding for me if i were the one being interviewed. I froze up just reading about OPs live coding segment above. Hate being put on the spot for this stuff
189
u/toroga Apr 07 '23
Right?? All of a sudden I feel like I have no prior experience, can’t write an arrow function, have never heard of the reduce method, and am about try to make a react component with Python 😵💫
→ More replies (7)47
u/LogicallyCross Apr 07 '23
Also it’s not realistic. Google and stackoverdlow exist we all use them.
→ More replies (4)35
u/See_Bee10 Apr 07 '23
I think that also helps guard against rejecting candidates for being nervous. I don't know if it's universal in the industry, but personally I have absolutely bombed technical interviews because I got nervous.
23
u/Krogg Apr 07 '23
I feel like I would do so much better in interviews if this were the case. Can I troubleshoot and debug the code? Yes. Can I improve and "leave the code base better than I found it?" Yes.
Can I build a login form on the spot? No. I could do it if given the opportunity to look up resources, but that's mainly because that's how I work anyway. I don't have everything memorized.
46
u/onesneakymofo Apr 07 '23
This is brilliant. I think the only downside that I can think of would be the candidate thinking that you're using them to solve your company's bad code, lol.
→ More replies (6)11
u/Slodin Apr 07 '23
oink, I'm taking this and putting it into my tech interviews lol. Thanks!
This is more useful than asking for how to do a sort with big O times. Literally garbage for front-end interviews.
11
10
u/EducationalCreme9044 Apr 07 '23
I think this makes a lot more sense, one can be pretty nervous (more so than they ever will while doing the actual job) and not be able to write themselves (because it's creative activity which is... hard under stress), but reading checks understanding and reasoning, it checks the same skills as having them write the code, but also additional skills.
4
u/10basetom Apr 07 '23
I once had a tech assessment where the code they showed me (apparently from their own codebase) made me kindly back out of the interview. It's kind of a double-edged sword.
6
u/wishinghand Apr 08 '23
I think it’s the inverse. If they don’t want to be there we shouldn’t hire them. It incentivizes us to have better code.
7
u/Blazing1 Apr 07 '23
I hate this style of interview. Every dev has their own IDE or text editor preference. It throws me off.
→ More replies (3)→ More replies (1)2
u/composero Apr 08 '23
I would love that interview, because I can read and translate what’s happening into technical and common speak but I struggle at times to write code.
It’s like being a foreigner who can read the language but struggles speaking it.
→ More replies (1)
4
Apr 07 '23
So you guys have the code answer written down beforehand.. must be nice.
Reverse interview, how about YOU code a login form? Lol
2
3
u/doctorMiami1337 Apr 07 '23
Pretty good stuff imo, can you expand on the "build a login UI in React"
Is the form data supposed to go anywhere i.e does the candidate handle the back-end functionality of where the form data goes?
Or is it just a simpler test to see if the person can make a simple UI in React or whatever else?
4
u/vklepov Apr 07 '23
Oh, I usually say we have an
api.loginasync function that resolves with'OK' | 'BadCredential'→ More replies (1)
4
u/benabus Apr 07 '23
The whole introduction is against policy where I work, and could be illegal. You're only allowed to ask work related questions and the "No expectations except that you're able to talk" is a violation of ADA.
Asking about family and movies could be considered discriminatory. "I said my favorite movie was Roots and didn't get the job... interviewer must be racist."
3
u/vklepov Apr 07 '23
Fair points. Still, based on common sense, you can't fully eliminate bias as long as the interiewer sees you. Maybe the name "Vladimir" annoys them, maybe they subconsciously prefer people who dress with style, maybe they hate mustaches.
I don't think being overtly formal about this is healthy, but this certainly is not a legal advice for all locations. And that's coming from someone who strongly suspects he can't even get to an interview based on citizenship.
Pls feel free to replace talk with communicate, I'm not a native speaker. Also note I don't come from a strongly anti-discriminatory culture and I'm doing my best here.
→ More replies (2)4
u/r0ck0 Apr 07 '23
"No expectations except that you're able to talk" is a violation of ADA.
I think you went a little bit too literal on that one, haha.
4
u/DoubleDown222 Apr 07 '23 edited Apr 07 '23
I would laugh at you and walk out. This is coming from a lead developer at a top 500 company. I’m not doing any assignments in any interview because you’re too lazy or unskilled to come up with questions. You’re setting the expectation that your employees are children. You wouldn’t give any other profession an assignment during an interview, stop doing it for technical professionals. It’s literally the easiest way to determine if the person interviewing you is a hack who will be a nightmare to work for. All you’re doing is giving any actual intelligent person a big red flag and self selecting for bad/desperate employees.
6
u/vklepov Apr 07 '23
Do you have a special bag to carry your self-righteousness around?
→ More replies (1)6
u/DoubleDown222 Apr 07 '23
I apologize for my prior comments, I was upset about something else and took it out on you. I hope you have a good weekend.
3
4
13
u/Veranova Apr 07 '23
to show that I don't eat people
But why does the interviewing engineer, the larger of the engineers, not just eat the other one?
In seriousness, this reads really nicely. I love the forms task as a practical piece, since getting it done 100% perfectly without any googling or discussion is unlikely, but a candidate can quickly show that they do know how to solve the unknown problems through discussion.
6
u/jsims87 Apr 08 '23
I’m assuming this is going to get downvoted, but anyone thinking this is not how nearly all tech interviews are, you’re out of touch. I’ve see a few people saying they’d walk away or tell the interviewer their being unreasonable. They aren’t. Literally thousands of people apply for these positions, and if you can’t write a simple addition function in your language of choice, sorry, I’d pass too.
Just because you’ve worked and built websites for 10 years, doesn’t mean you’re a good engineer. The red flags are totally valid, and something most people interviewing probably don’t realize. I don’t know why people are dumping on this post, its a very solid way to judge a candidate in an hour interview.
5
u/dex206 Apr 07 '23
Not fair for you to call a red flag on the dev from their previous company's org policies on agile vs. waterfall vs. whatever. It is always out of their control. "long long" time shouldn't matter. Agile did not reach the current level of adoption overnight and it took almost a decade to reach ubiquity and there are still shops that haven't changed from waterfall that have brilliant developers.
What is fair to ask is how they feel about their current company's product management practices and what could be improved. Describe your practices and ask them what they think about it in comparison.
5
u/kayvaaan Apr 08 '23
Yeah...I would fail the coding part and I'm the UI lead/sme for my project. The solutions I come up under an hour have a high probability of being garbage.
I would rather ask the candidate to walk me through a project they did. If they don't have any, I'd rather ask them to analyze a piece of code I've prepared.
2
Apr 07 '23
I ask if he has a passion for the job and i also check his attitude/behaviour. Thats all you need. Skills like the ones you are asking and meaningless
3
u/vklepov Apr 07 '23
"Do you have PASSION" is a pointless question, of course anyone will tell you that yes, I'm the passionatest. How do you check attitude?
→ More replies (2)
4
Apr 07 '23
What tools do you use for interactive coding? My firm uses HackerRank but it's awful for front-end. The React session is buggy and slow and candidates can't even see what I'm typing. Is there a better alternative?
4
u/dont_you_love_me Apr 07 '23
It seems that you think people could have done something different with their lives, up to the point of their interactions with you. I believe it is quite obvious that all life situations are the result of a specific sequence of events that a person must experience before they get to the point in which you can personally observe them in time. What leads you to think that people can do different with their lives? How can they circumvent any particular scenario that they encounter? Hiring seems to be based off of the concept of freedom and self determination, but once you come to understand that such a notion is complete nonsense, then hiring in and of itself is completely bogus. We are all subject to the algorithms of our lives. You would hope that people that test on and work with algorithms would understand that.
4
u/OmniscientOCE Apr 08 '23
I'm surprised people are up in arms about this. Seems like a pretty fair junior level interview.
1
Apr 07 '23
So I fall in the category of “long time in a non agile environment” — I reported to a very high level individual in the company, but was also the only developer.
Do you have any recommendations on how to improve on this, if it’s indeed seen as a deficiency?
2
u/vklepov Apr 07 '23
My bad, please replace "agile" with "user-oriented and involving communication".
→ More replies (1)
1
u/Solcry Apr 07 '23
One small tweak I'd add (depending on the seniority of your role) is to add async operations into your interview. For us, a good chunk of tasks require calling an API, and it's been important for us to check people's comfort level of stepping through the logic. We always give the syntax if they struggle on that, but we want to see them reason through the logic.
E.g., make that form post, loading state, and a success screen.
1
1
u/drdaeman Apr 07 '23
Write a JS function to sum numbers
Doesn’t discuss any failure modes in follow-up question plan
I’m quite disappointed, as this is probably #undefined issue in [object Object].
1
1
u/Dry_Bag_2485 Apr 07 '23
Can I use chatGPT?
1
u/vklepov Apr 07 '23
Whatever, really, as long as you can spot the bugs and ensure good ux.
→ More replies (1)
1
u/Here-Is-TheEnd Apr 07 '23
Conversation to show I don’t eat people
Is it possible to learn this power?
1
u/Druffilorios Apr 08 '23
I could solve everything except that js sum part. When the fuck do you use that in frontend? You just put it there because its cool?
→ More replies (1)1
u/vklepov Apr 08 '23
Off the top of my head:
we aggregate spending breakdown by day into total spending over the period.
backend returns several payment commissions, which we add up.
1
u/AlwaysAtBallmerPeak Apr 08 '23
This is for a junior position… right?
1
u/vklepov Apr 08 '23
Look around here, see the staff engineers who say it's too hard. A sensible form implementation and a general feel that you know what you're doing are senior enough, TBH. Might throw some architectural discussion on top, if we have time left.
→ More replies (1)
1
u/danja Apr 08 '23 edited Apr 08 '23
How would you feel about someone hitting Google/StackOverflow heavily, assuming they did it in the time window?
I flop between languages, can't remember the significance of const vs. let in JS offhand. Not sure I've ever gone beyond Hello World in React, I get it's purpose, but for doing a quick form for myself I'd probably go lower level, maybe old school jQuery. Asked, 'use this framework', naturally I'd read up, but in an initial interview I'd almost certainly have to plead ignorance.
1
u/vklepov Apr 08 '23
Depends on your claims. Generally, we allow any technology you're comfortable with for the form, I personally throw in some hints as needed, and you can Google something towards a products goal.
However, if you call yourself a React expert, then proceed to Google how to attach listeners, I'd alerted.
1
u/florestanQ Apr 08 '23
I’ve worked around 8 years since my degree and my experience is that this misses a huge part of the actual work. It’s easy to learn how to add error handling for a form, but teamwork and humility is usually a lot harder. Can they explain why they want to do something a certain way, can they reason through decisions, do they have opinions that they can voice in an understandable and reasonable way. Can they listen. Are they willing to share knowledge. I think all of these questions are just as important as being able to know the difference between an arrow function and not (I don’t care that much about the difference)
1
u/vklepov Apr 08 '23
For me, the key treats of a good engineer are taking responsibility for the end result, and being able to collaborate and make decisions to get there. I feel the form task covers it OK — the attitude shows in reaction to "what do we do if the password is invalid", the only bad answer being "dunno, you tell me"
→ More replies (1)
1
u/ROMVNnumber1 Apr 08 '23
So non-agile is red flag, but Your "chaos all around" company is cool yeah? Isn't that part contradictory?
2
u/vklepov Apr 08 '23
No, why? Agile advocates loose structure and processes, contradictory would be "we are a strict hierarchical enterprise with well-defined roles"
→ More replies (1)
3
u/cjrutherford Apr 07 '23
I would like to know why that reduce is not a valid response? it does what was expected, I think it's just absolute pettiness to decline a valid solution. do you know how to use the reduced function? use it. it's a tool. down vote me all you want
3
u/ohcibi Apr 07 '23
Demanding react is already a red flag. An interviewer demanding react obviously doesn’t have enough experience to be a good interviewer and is unable to tell good candidates from bad ones.
3
u/VladDaImpaler Apr 07 '23
A login form during an interview? For real? I would hate this, I already do.
3
u/RS3_of_Disguise Apr 07 '23
It’s precisely why I gave up attempting to find any sort of FE position. It’s all over saturated anymore.
The consistent failure to understand that these are technically fields of science, and expecting people to memorize rudimentary tasks instead of allowing research (when, in the real world, you’ll likely always have docs open to reference from start to finish of a project) is a part of the problem.
They don’t want problem solvers, they want efficient test takers.
3
u/NiteShdw Apr 08 '23
What a cute little baby interview. So simple. I love it. Asks the basics, gets them to do live coding but something simple and not an 8 hour take home. Well done.
3
u/Spidey677 Apr 08 '23
Being a seasoned front end dev contractor for 12 years I don’t do coding tests. No time for it. I have zero issues going over GitHub code repos and asking me random Front End questions though.
3
u/tiesioginis Apr 08 '23
Who even cares if you can code on the spot, if I'm hiring developer I care more about problem solving skills, research skills and soft skills.
You can hire great coder that can't communicate what the fuck he does and he will never be aligned with the team and a mediocre coder that googles a lot, but is great team player, is eager to learn, etc.
Also I know many devs who can easily code up some quick form, but when it come to big code base they are lost, they forget that everything connects, that it has to scale, that is has to be testable, etc.
5
u/fkthem Apr 08 '23
Dude, 40 min to produce industry standard quality login form is unrealistic AF. Try 8 hours.
Client side validation Accessibility Design Form handling
1
u/MechanicAccurate5076 Apr 07 '23
I am not a big fan of pure coding tasks. And yours only target knowledge that could be looked up or acquired very easily. On the other hand, such a small JS function is a good way to start the interview successfully for the applicant. It's actually a good idea and probably takes some pressure off.
I prefer more complex and abstract problems. But I also don't expect source code, just rough ideas and possible solutions. The whole thing is also a discussion, where I sometimes throw in my own solutions to discuss the pros and cons. I expect that a good developer defends his solution if it is better or admits if it has weaknesses.
But this is just my experience. We never have problems with a developer not being able to code a solution. But sometimes the solution that is implemented is just not good. So in my opinion it is much more important to know what to code than how to code it.
1
u/vklepov Apr 07 '23
Do u guys not click on "see the full image" or something?) The form problem is very open-ended and involves some product thinking.
5
u/pw4lk3r Apr 07 '23
None of these questions really differentiate a good programmer from a bad one. Many bad programmers can memorize. To differentiate a good programmer from a bad one ask these two questions: “Why did you decide to create a career in software development?” And then “Your team member is late on their deliverables. Tell me what happens next in this story.”
If the answer to number one isn’t “I like building things and creating” or “I like problem solving” then they fail. If the answer to number two isn’t “the project succeeds or fails when we all get our deliverables done. So I’m going to help my teammate to catch up.” then they fail.
Answers you don’t want: “I fell upon it accidentally” “I had another career but there was more opportunity” “if you don’t do it you’ll be left behind” “I was looking for a stable career that has good salary and benefits” as well as “we delay the project” “we reduce scope” “we add more team members” “we replace the team member”
All of these answers express low urgency and low direction. You want someone that is high performing and high trust, plain and simple. Technology changes daily, static concepts are useless guideposts for the future as the business complexity grows.
2
u/Jazcash Apr 07 '23
Clean, I like it. I do think it's important to stress you want the candidate to write code as they would write it for real. Uni can give bad habits by expecting you to demonstrate knowledge of basic programming logic for very simple tasks like summing, sorting etc, but in the real world it's better to make use of existing APIs, especially if they're native to the language like array functions.
2
Apr 07 '23
Hey I answered all of that pretty quickly I’m genuinely chuffed to bits lol. Last 3 months my mentor has had me hammer vanilla js fundamentals to death and I honestly feel pretty great! Thanks for sharing
2
2
u/PabloEstAmor Apr 07 '23
This interview doesn’t scare me as much as I feel it should. I know virtually nothing so far (literally just took Codesmiths intro to JS course), but I’ve at least heard of all these things. And all of it seems doable, granted that you have the required knowledge obviously lol.
2
Apr 07 '23
Nice way to warn your interviewees that they’re not going to learn anything working for you I guess
2
u/brikky SWE @ FB Apr 07 '23
Add browser auto complete? How did we get from “basic login form” to “build a browser with password vault”?
→ More replies (2)
2
2
Apr 08 '23
Login form is a pretty horrible thing to have in a short time frame, as handling user credentials is one of those things you MUST do correctly, and you shoudl probably be using someone else's well-developed, documented, and vetted work for that. Not as important as not implementing your own crypto, but not TOO far off the mark.
Otherwise, having done tech interviewing myself, this seems... Fine? Like... It's nothing special, at all, and I think they focus too much on the specifics of collaboration and planning if they take non-agile as a red flag. There's plenty of other red flags out there to worry about.
Eh. It's fine. I wouldn't be bragging about this though, so hopefully it was posted by the original creator to show how a typical interview might look.
2
Apr 08 '23
Agile environment is bullshit. I consider it a bonus if the candidate has never been exposed to "agile"
2
u/DGCA Apr 08 '23
10 to 15 minutes for a sum function? That's so much time.
On the flip side, 40 minutes to set up a project and create and style a login component? These times make no sense to me.
I'm probably overestimating what you expect from a login form, but I'd start by asking about how the API needs to get the form data, otherwise we're not building a login form.
2
2
u/yohohohooho Apr 08 '23
As a beginner in FE role this is close to the interview I had to go through to get the job. I also attended other interviews where I had to write code for all the algorithms they asked for and in the end they just rejected me cause I asked for a basic pay.
2
2
u/hungry_panda_8 Apr 08 '23
This is good balance. I do similar except I pick somewhat hard problem for react coding like carousal component to extend it to further features in case of high senior roles. The startup I am at does pay well and I expect to filter out competitive people for further rounds as a responsibility and I also don’t want to waste time for other person to pick pace and help share stuff, so I am being partially selfish as well.
2
u/sublimegeek Apr 08 '23
I’d rather talk about my experience than demonstrate. But also, very happy now as a DevOps engineer vs a long time Frontend developer.
2
3

356
u/canadian_webdev Apr 07 '23
I work in a non-agile environment, in which I have zero control over.
Seems silly that an environment outside of a devs control counts against them as a red flag.