A good example is if I ask a developer to write a MITM proxy server. You can search all day how to write one and you’ll find a few projects on Github. However not a lot of info on the whys and whats. This is because no one wants the responsibility of their work being used in an attack. To get all the whys and whats you need to read documentation for the protocols and language you’re using. Otherwise you will end up with a pretty hack-y solution.
Because there is no stackoverflow on this, a younger developer would spend the greater part of 3 months understanding something simpler than it appears to be.
Search hasn’t made me a better developer so it’s importance is minimal. Best practices have made me a better developer. Searching for solutions is not a best practice.