It also matters what problems you work on at the beginning of your career and who you are surrounded by.
People who work on things that nobody in their group has good answers for, become much more aware of other disciplines and the histories, as they go looking for better answers.
But if entering a group working on known paths, or existing ideas (being tested), then wandering too far from base camp is going to look unfocused. The existing path has to hit a dead end. Which in many fields/professions takes decades.
Herbert Simon started off with Political Science. But look where the path takes him as he doesn't find answers on what he is working on - https://en.wikipedia.org/wiki/Herbert_A._Simon