I've learned a decent amount of mathematical stuff on my own without traditional books, and I'm pretty sure this will become more and more common over time. I'm a member of the earliest generation (b. 1985) for which this was really possible, and I just fell into it by accident, but in the coming decades I expect we'll see a lot more people who are almost entirely self-educated through the internet. I'm sure it'll still be a relatively uncommon phenomenon, but at least the people who learn best in this way now have access to the information and tools they need.
Happily the computer science articles tend to make at least a little sense. But then I already have a degree in the field.
There are people who can learn from encyclopedias, but most people need well-paced, linearly(ish) arranged material.
It's no different from the situation before the internet, since books are cheap (compared to your time) and usually are still a better source of information on such structured subjects anyway.
In fact, when I was in college, I mostly read textbooks anyway instead of attending lectures (it's easier for me to learn this way).
This however is not the whole story. Even if you are motivated ("I'd like to learn math"), you are probably not motivated enough for some feats of cognition. If you know people who stayed home and studied math on their own for a few years, full-time, at college level (I don't), they are probably very rare.