I've written one, and in the process acquired a near limitless admiration for those who can do it for living, book after book, decade after another. Even for a topic you feel should be easy - every page that ends up being in the final result, you have written at least 3x. The editing process alone is brutal, and the harsher, more demanding editor you get to work with, the better the results.