r/learnjavascript • u/Top_Estimate_149 • Jul 24 '26
5 years writing JS professionally. Still blank on interview questions sometimes
Not a junior dev problem. I've shipped plenty of gnarly JS/Vue code, no issues. But throw me in an interview and ask something like "explain event delegation" cold, no code editor, no context, and there's this half-second where my brain just stalls, like the info is there but the retrieval path isn't warmed up.
Realized it's not a knowledge problem, it's that I'd never actually practiced saying these answers on demand, but only reading about them or using them implicitly in code.
Built a small spaced-repetition app for this. Same idea as Anki, tracks what you keep fumbling and resurfaces it more.
Curious if this "I know it but can't produce it on command" thing hits other experienced devs too, or if I'm just built different (badly).
What worked for you all ? Mock interviews, flashcards, just doing more interviews to get reps in, something else?
15
u/ExtraTNT Jul 24 '26
8y on my end, wrote my own renderer, can’t answer interview questions… they tell nothing about a dev, except, that you are able to memorise some questions and their answers…
2
u/sheriffderek Jul 24 '26
What part about event delegation specifically? That’s seems like something most people just do not know about in general.
2
u/sedatesnail Jul 24 '26
Don't feel bad. Today I forgot you could install npm using npm
11
u/LetUsSpeakFreely Jul 24 '26
I've been writing code for nearly 30 years. I still look stuff up or have AI do it.
With AI, knowing syntax is useful for knowing when AI gets things wrong or could be done a little differently to increase readability, maintainability, or efficiency, but it's more important to have a solid understanding of engineering principals than to worry about syntax.
2
u/Top_Estimate_149 Jul 24 '26
here's the app if anyone's interested : javascriptinterview.dev, free, no signup needed to try a session. still rough around the edges so lmk if anything feels off
1
u/gen505 Jul 24 '26
In exactly the same boat… I often envision “dream scenario” interviews. Something along the lines of: responding to such questions saying how no one really has that stuff stored in their head these days and that I focus on how everything pieces together. Talk about how fast I am at looking up and how I traverse codebases and documentation quickly and effectively, etc… Putting focus on real world skill and attention to detail rather than sitting and meticulously rote learning textbook paragraphs I could just look up in 3 seconds and have open for reference. The interviewer in my mind then nods on in approval both impressed and glad they don’t have to follow the script because they thought it was bullshit anyway and they hire you on the spot.
Buuut that is not the real world and has never happened and probably never will 😂😂. Maybe one day I’ll give it a shot.
1
u/purpleDev1337 Jul 24 '26
I have impostor syndrome, too. It sucks.
2
u/Kailoodle Jul 24 '26
9yoe here. Someone asked me what super() does the other day and i had to look it up.
2
u/akornato Jul 25 '26
This is an incredibly common problem, and it has almost nothing to do with your actual JavaScript skill. Knowing how to use a concept to solve a problem and knowing how to deliver a clean, verbal definition of it on the spot are two completely different skills. Your brain is wired for application, not for academic recitation under pressure. An interview is a performance, a test of how well you can talk about your work, which is a poor and often inaccurate measure of how well you can actually do your work.
You are on the exact right path by realizing it’s a retrieval and practice issue, not a knowledge one. Mock interviews and talking through problems out loud, even to a rubber duck, are the best ways to build that muscle memory. It feels strange at first, but it creates the pathways in your brain to pull that information quickly when you need it. This challenge is so common that my team actually created an interview AI to help experienced developers sound as skilled in the moment as they are on the job.
1
u/BrownCarter Jul 24 '26
Cause they like asking shit that people don't use or think about
1
u/Mountain-Elk3680 Aug 23 '26
I can relate to this, I have been web dev from 12 years and still sometimes get stuck in very basic question in interview.
1
u/Green-Walk3000 Aug 25 '26
I am a beginner, I learned HTML CSS js. But when I want to solve an exercise, I can't apply what I've learned.
0
u/[deleted] Jul 24 '26
[deleted] — view deleted comment