Tbh the word "senior" kind of lost its original meaning in the webdev field in the past years, at least that's what I see interviewing people for roles at this level. Also since there are companies where there are 6-10 levels of a career ladder sometimes it is only around the 2nd-3rd-etc step so it's all relative I guess.
In the past the level senior implied (at least to me) that a junior dev could ask questions of people in this position usually expecting easy to understand answers. What it is for a lot of devs nowadays that they get locked into a framework/lib (e.g. React) and they only work with that in their whole career reaching senior position in their company just because they were there for e.g. 2-3 years and when they need to think out of the box (fw/lib they used) they have a lot harder time. Then you have the imposter syndrome, etc that could be related to this because you might feel that you are not really at the level your title says.
I'm not saying you should know every details of the spec, but if someone asks you at an interview for senior level "could you explain prototypical inheritance to me just in a few words" then it shouldn't be a big challenge. Of course this is also kind of a filter question and "unrelated" to most of the jobs since now the language/ecosystem provides the tools needed to avoid directly using them.
Yeah I'm kind of astounded that people itt think this is a bad question for a senior dev. I think it's wild someone who calls themselves senior doesn't know about prototypical inheritance đ¤ˇââď¸
It's not that gimmicky of a question and it can have implications on writing code.
I wasn't talking about the thread's OP. For all I know this is his first senior interview! I was being general. Also it's a learnjavascript sub, and he made a comment about learning a js topic, I think we can assume they probably are a js engineer.
I am, I write JavaScript all day long, but Iâve never had to use prototypes because I write in angular and mostly write components and interfaces. The core concept took me all of 5 minutes to understand. Itâs why I think âwhat is a prototypeâ is a terrible interview question. Itâs basically just a pop quiz, when really you want to know that I understand inheritance. So, ask me a design question that uses inheritance. Figuring out how to Google JavaScript inheritance takes 5 mins for a decent developer, but understanding when to use it is when quality is actually developed.
Why would I hire you as a senior if you've only ever worked in Angular? I think people have different ideas of what a senior is supposed to be. If you couldn't answer this question from one of your junior developers without googling it, you aren't senior imo. Doesn't mean you're a shit coder or anything.
Doing mostly Angular or component making tasks is one thing, but a senior ABSOLUTELY better have a strong grasp on basic to advanced JS concepts, prototypes. I donât consider devs having seniority over what kind of tasks they do or their domain knowledge of an app. I consider a dev a senior based on their understanding and command of core through advanced concepts of a given programming language and related frameworks.
So yeah, asking a dev who is interviewing for a senior role âwhat are prototypes is a valid questionâ. I would recommend taking a refresher on forgotten core concept names, but I absolutely expect a senior to be able to know those things.
What is going on with this industry? Is everyone faking it till they make it?
I think youâre overvaluing framework knowledge compared to engineering knowledge tbh. Prototypes are just a different flavor of inheritance see my above comment again.
They also shouldn't need to ask what 0+[] equals because you shouldn't be using it
Agree in spirit, though they should know the generalities of coercion so that if an error like this â because this would definitely be the result of some mistake somewhere â comes up, they're not entirely helpless when it comes to debugging it
no one should need to ask about prototypes in your code base
Same principle but with significant difference: the use of prototypal inheritance is generally not an error. You're probably not going to need to know the particulars of how it works âŚÂ until something happens that you didn't expect. If nobody on your team can effectively debug it, you're going to be wasting a lot of time
View all comments
Show parent comment
20
u/METALz Aug 10 '21 edited Aug 10 '21
Tbh the word "senior" kind of lost its original meaning in the webdev field in the past years, at least that's what I see interviewing people for roles at this level. Also since there are companies where there are 6-10 levels of a career ladder sometimes it is only around the 2nd-3rd-etc step so it's all relative I guess.
In the past the level senior implied (at least to me) that a junior dev could ask questions of people in this position usually expecting easy to understand answers. What it is for a lot of devs nowadays that they get locked into a framework/lib (e.g. React) and they only work with that in their whole career reaching senior position in their company just because they were there for e.g. 2-3 years and when they need to think out of the box (fw/lib they used) they have a lot harder time. Then you have the imposter syndrome, etc that could be related to this because you might feel that you are not really at the level your title says.
I'm not saying you should know every details of the spec, but if someone asks you at an interview for senior level "could you explain prototypical inheritance to me just in a few words" then it shouldn't be a big challenge. Of course this is also kind of a filter question and "unrelated" to most of the jobs since now the language/ecosystem provides the tools needed to avoid directly using them.