I've been blogging about programming on Medium for 6 months now. I'm a part of the partner program, and I'm able to make about $100 a month, and tey to publish an article a month. This is probably where my motivation comes from, since I know I'm going to make at least a little money from the time it took me to write the blog. However I also publish some more articles on my personal site (https://tdom.dev), since I'm not really a fan of medium. It's only good for reaching an audience. I would rather make 0 from my personal blog and get thes same amount of views as on medium, but oh well.