Good advice, but I don't understand why writing a book is the "quickest way to get ridiculed". If a developer wrote a book that provides value, is accurate, and contained very useful code samples, I can't see how that wouldn't increase opportunities.
EDIT: Totally misunderstood that the OP meant it figuratively. Apologies.