I started learning by reading code, and that's still the most effective means.
I'm also much older than YouTube, so that never entered the equation for me. Sounds awful, though, what with not being able to directly copy examples, though that's how it used to be with books and magazines ...