Books are helpful, but not the only way for students to learn. In fact, I usually assume that only half of what my students learn will come from the assigned readings - the rest will come from lectures, projects, and the like. Books can be very helpful in organizing the material, but if there is no good book available for a class, then learning might be better without one.