It seems to be a sadly common assumption (including in many conversations in this very sub) that knowing language details is somehow much more important than understanding the problem domain or being capable of succesfully working on complex programs.
Besides this, failure states are almost never good because interviews are nothing like the day to day work and can be very stressful. It should be expected that even very good candidates will give extremely dumb answers to trivial questions because of this (not that in this case the answer would be dumb, since it makes sense to have a container that behaves like that). That's why it's an hour long, often multi stage, process.
View all comments
Show parent comment
52
u/irqlnotdispatchlevel Jan 02 '26
Making that a failure state in an interview regardless of everything else discussed during the interview makes you a bad interviewer.