Paper vs digital/PDF textbooks

No.13198001 ViewReplyOriginalReport
If I wanna retain/learn the most from a textbook, should I use a physical book or is a digital one just as good, especially for Computer Science and Math? And where do you get your PDFs, libgen(.is)?