That also applies to code, I've seen some ebooks that have blocks of code formatted like they exist on a blog instead of in a printed environment. It made reading them a pain because code snippets were word wrapped badly, split over multiple pages, and you'd get pages and pages of code.
Given that ebooks are electronic, perhaps they could use some sort of pop out window for larger code snippets, so that they could be scrolled rather than in page format.
Given that ebooks are electronic, perhaps they could use some sort of pop out window for larger code snippets, so that they could be scrolled rather than in page format.