I'm just curious, but why do you recommend this? Is it so you can have a name for yourself in your chosen passion? Is it to show you are competent?
The con speaks to the other comment about selling. Writing a book takes a lot of time which could be spent on other things more directly related to building a business. (And the book itself probably won't make much money.) A website/blog with even a modest amount of good content may go almost as far as a book for a lot less time.
Don't get me wrong. Being published, especially through more credible publishers, can be good for one's career. I'm pretty sure it has for me. But, on the other hand, I haven't had to trade-off revenue vs. writing time.
I am a small fish in a small pond in my chosen career, but writing helps my own understanding. Explaining things helps understanding.