Peter Norvig in his book "Paradigms of Artifical Intelligence Programming" says in the preface:<p>" All too often, the teaching of computer programming consists of explaining the
syntax of the chosen language, showing the student a 10-line program, and then
asking the student to write programs. In this book, we take the approach that the
best way to learn to write is to read (and conversely, a good way to improve reading
skills is to write). After the briefest of introductions to Lisp, we start right off with complex programs and ask the reader to understand and make small modifications
to these programs.<p>The premise of this book is that you can only write something useful and inter-
esting when you both understand what makes good writing and have something
interesting to say."<p>Suppose a beginner who has taken an introductory programming or CS course using a language (for simplicity and generality say Python). Now they want to know how to solve variety of problems using that language and write good code.<p>What codebases should they read? What kind of projects should they start writing? By projects I don't always mean gluing together apis with minimal work to build an app. There should be significant work to do from scratch even if they use a few apis for some parts of the project.<p>Do you have something specific in mind for such understandable codebases or walkthrough blogs/videos?<p>For projects, I think in the starting there should be some handholding/guidance. Are there any such resource?
I would start with reading another book. It is called "Code Complete: A Practical Handbook of Software Construction" by Steve Mcconnell[1]. Don't let the age of the book scare you. The advices given by this book is in large parts timeless and you will find if very inspiring and a great help to improve your code. At my former place of work, this book was given to all new coders (regardless of experience level) on their first day at work and their first task was to read it.<p>[1] <a href="https://www.amazon.co.uk/Code-Complete-Practical-Handbook-Construction/dp/0735619670" rel="nofollow">https://www.amazon.co.uk/Code-Complete-Practical-Handbook-Co...</a>