DEV Community

Discussion on: JavaScript Interview Question #46: Length of JS functions

Collapse
 
codefinity profile image
Manav Misra

Not denigrating the post at all. This is something that would come up in an interview potentially...but, why? What does this prove to anyone about someone's ability to write useful JS code that is clean, easy to follow, and adheres to best practices and architecture?
Again, not being negative about the article - this is probably an interview question. The question is just why it is?

Collapse
 
leob profile image
leob • Edited

As an interview question this would be ridiculous, but as a quirky fun fact it's great! But, an employer or a company who expects me to know something like this, and values this kind of knowledge, no I definitely don't want to work for that kind of employer.

Collapse
 
coderslang profile image
Coderslang: Become a Software Engineer

You'd never be dumped just for not knowing this stuff. All knowledge is valuable.

And your reaction to the questions you don't know is a good indicator of how you'll tackle the difficulties on your job.

Thread Thread
 
leob profile image
leob

Well maybe, but some knowledge is arguably more valuable than others - I'm just saying that if an employer really attaches great importance to this sort of knowledge, then it's a red flag for me and I'd probably not want to work for that employer - it tells me something about their "culture". But, it does depend on the way they ask it, and on their intentions when asking it.

Thread Thread
 
coderslang profile image
Coderslang: Become a Software Engineer

I absolutely agree. The "how" and "why" are just as important as "what".

Collapse
 
coderslang profile image
Coderslang: Become a Software Engineer

There are millions of different interview styles. My goal with these posts is to help Junior devs uncover their weaknesses and be better prepared for their next interview.