5 ms·
Many interview questions aren't about the right answer -- they are just questions that are designed to show how much the applicant knows about whatever is on th
by newaccount74 4y ago
Many interview questions aren't about the right answer -- they are just questions that are designed to show how much the applicant knows about whatever is on the CV.
If you have Python on your CV, and I ask you how the garbage collector works, I don't want you to read some stack overflow summary to me. I want to hear your own description, so I can make a judgement how deep your knowledge of Python internals goes.
Anybody can type specific questions into Google. But if it comes to producing performant code, you need to have that knowledge in the back of your mind, because nobody is going to tell you to google that.
- Beltiras 4y agoI'm a 10 year Python veteran and I've never had to think about garbage collection. Back in the day I did find out that del didn't actually free up memory (memory footprint could only ever increase for a process, only way to "free" memory would be to restart it). Don't know if it's still the case. If asked today my very terse but immediate answer would be: "Rather poorly when I last checked. Haven't had to check for roughly 8 years." Would that qualify as a "knowledgeable individual" in your books? (just curious)
- SkipperCat 4y agoI think that would meet the definition of a "knowledgeable individual". Python does GC under the hood and most folks who use it extensively never see it at all. The wrong answer would be "what is garbage collection" or "its excellent, better that C++"