This is an excellent point and one that is extremely important for junior developers. I’d say the vast majority of major issues stem from poor assumptions.
Assuming that the documentation is correct. Assuming a large portion of code is not being used. Not only do these assumptions lead to bugs and outages down the line, but they thwart learning and innovation.