Let's suppose that at a job interview they ask me "what you do if your code does not work?".
I tell them that I read the docs to look for the error, I isolate the piece of code that does not work and try to change it to make it work. But in the end if I cannot find the answer I ask on StackOverflow.
Would this be self-defeating?