Hacker News new | past | comments | ask | show | jobs | submit login

I'm with @lostcolony: if I were interviewing and a candidate said "don't do that, it's unpredictable, do this instead" it's a great answer.



At the same time though, as someone looking for their first dev job, I'm not going to tell the interviewer "don't do that." Given the people I've met in industry, I can't see that ending well- I would expect some variation of "who does this kid think he is!?"


True, but one time I was asked about the difference between "foo = bar" and "var foo = bar", and my answer was, "Don't do the first."


You can always phrase it as, "That's ill advised, here's why, my guess is it does X, but you probably shouldn't do that in production code".




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: