For an undergraduate mathematics textbook, what are the pitfalls of inserting all of the exercises in the text? (As opposed to grouping every exercise at the end of the section).
IMO I feel it is better to insert exercises in the text because it breaks up the monotony of reading, and the problems enable the student to check their understanding before moving on, but since this fad has not caught on I was wondering what stops most professors from doing it.