Would you hire someone who refuses to use search or stack overflow for professional coding?
Those that get lazy and produce low quality output will be pruned like they are today
Which are the ones you would want answers to... Everything else is memorized unless you're new.
Usually these things do not have an answer in the search engine either. Or a lousy one like using an insufficiently completed premade library.