I think it depends a lot on the junior's current experience, learning style, and career goals. Here are a few thoughts on the points you've raised:
-
Experience Matters:
Many of the insights in books like the GoF (Gang of Four) design patterns book or those targeting architects assume you’ve encountered enough real-world scenarios or design challenges. Without that context, some lessons might seem abstract—or even misleading if taken as gospel rather than as one set of ideas among many.
-
Foundational vs. Advanced Material:
For juniors, focusing on books that cover foundational programming concepts, language features, and practical best practices can be very beneficial. Advanced ideas, like critiques of OOP or in-depth architectural concerns, might be less useful until they've built a base of experience. Essentially, it’s about building a solid foundation before layering complex theories.
-
The Role of Context:
When you read something like the GoF book, you're not just absorbing patterns; you're also absorbing the historical context in which they were formulated. If you’re early in your career, you might not yet have encountered scenarios where choosing one pattern over another made a tangible difference. In these cases, pragmatic, hands-on materials (or at least books that focus on “this works in practice”) could be more immediately useful.
-
Learning by Doing:
Sometimes the best way to understand complex architectural principles or design patterns is by encountering problems where these ideas apply. As a junior, pairing reading with direct practice—code reviews, pair programming, or small projects—can cement your knowledge far better than abstract examples alone.
-
Tailoring Learning to Goals:
Not every piece of knowledge needs to be acquired at once. If a junior aspires to eventually work on large-scale systems or move into an architectural role, it might be worthwhile to start reading some of the "higher level" materials slowly, even if only to get a taste of the concepts. But if you're still grappling with the day-to-day coding challenges, it might be best to focus on more directly applicable material.
-
Avoiding Overwhelm and Misapplication:
A potential risk of diving too deeply into advanced topics too early is that it can lead to over-complication. For example, a junior might try to apply design patterns in situations where a simpler solution would suffice, or develop an overly negative view on OOP without enough experience to properly assess the trade-offs. This is likely what you mean by some books being "more harmful than beneficial" early on.
In Summary:
While reading advanced programming books isn’t inherently "bad" for juniors, the benefit they provide is largely dependent on context. A junior programmer should ideally balance reading with real-world coding challenges. Focusing on materials that directly address the current level of practice—and gradually moving on to more abstract or debated topics—can ensure that the learning process is both effective and encouraging rather than overwhelming.
Ultimately, every programmer’s learning journey is unique. Some juniors might crave the breadth that these advanced books offer and learn from them over time (often by re-reading), while others benefit more immediately from hands-on experience and more targeted, context-rich materials. It's all about matching the resource to the current level of understanding and the needs of the moment.