But does it generate a better income than e.g. working a dayjob in IT?
Did anyone ever get rich by writing a technical book?
Did anyone ever get rich by writing a technical book?
You have to remember that a lot of these books are written as groundwork for future plans - far easier to establish credentials saying "yeah I've written that book, you may have heard of it".
It also depends on what's your goal. In my case, I was just looking for a way to pay my bills and not having to go back to a job again. My monthly expenses where I live is around $150 and I'm earning about $200 per month as a self-published author. That's more than I need and I'm grateful for that.