I was just typing this. Reading PDFs sucks, especially when you want to detach yourself from the interface you're currently working on. Flipping back and forth screens, meh.
...And for me it's the opposite! Unless it's a "concept" book like SICP or anything that isn't "this is how you code in X", I'll take tabbing from PDF to code editor over moving my head from the book to computer.
To learn properly, I feel that I prefer learning from a book rather than learning from a PDF. This is why I couldn't really use Codecademy. Too many distractions.