While it wasn't said, this somewhat implies that people are faking their way into companies, guessing and pulling other tricks to get through an interview. The simple solution is for people to be honest with themselves and their interviewer about their capabilities. This is my approach and it sometimes means that I don't get work because I flat out said that I know nothing about a certain technology or don't have mastery over something yet. Today, someone must have thought I had excellent SQL skills and I clearly let them know that I can do CRUD and stored procs (the typical developer toolset), but much of my recent experience is with ORMs. The gig might not come through, but I don't have to worry about imposter syndrome or my relationship with the other developer.