Good read Diana!
I also experienced success without trying on this platform. I just wrote about what I love and programming is one of them. As you say, programming is what is read most. Of my $1.300 on Medium, almost $1.000 are from programming articles.
It feels a bit saturated these days and I have read about many people who experience a drop these days, but if you produce quality it will stand the test of time :)