Yeah, you can tell when an author just has a lot of stuff on his mind unrelated to the subject of the book.
Though in Moby Dick, you can forgive the author for using a quarter of the text as a sperm whale encyclopedia cause he's just really into them.