Re:Async Queue – One of My Favorite Programming Interviews (...
by pavlov on Monday July 07, 2025 @04:53AM
(#44488156)
This interview starts off with the interviewer saying it's going to be in JavaScript, and then introducing a piece of code that's clearly not JavaScript:
Doesn't inspire confidence in the interviewer's level of preparation.
[ Parent
| on HN ]
Re:Async Queue – One of My Favorite Programming Interviews (...
by ipnon on Monday July 07, 2025 @05:19AM
(#44488321)
As long as the candidate feels confused and the interviewer feels brilliant then all is well in the world.
Re:Async Queue – One of My Favorite Programming Interviews (...
by diesal11 on Monday July 07, 2025 @05:53AM
(#44488526)
Eh, the implementation is all Javascript and can be approached in any language. They're just providing function signatures with types so the candidate knows what they're working with.
Also the signatures are Typescript, which really isn't that far off in the context of an interview. Even in a pure JS codebase it's not uncommon for IDEs to pull the TS definitions of packages to provide basic type checking. But even pure JS libraries will normally provide typed signatures in their documentation.
If anything I'd say this shows that the interviewer is prepared, by ensuring the candidate has what they need to complete the question.