I feel like that method of discovery is how I learn best, because I learn WHY something is the way it is, and how it's actually used outside of toy examples. Plus, it's just how most people are built to learn.
And yes, books not being searchable is basically THE reason I never use programming books.