There may be good content on medium, but more often than not I'm frustrated by long-winded, less accurate retellings of official documentation. I think it might be because of the monetization. People have an incentive to write shallow blog posts/tutorials on things like "throwing an exception with Python." If I'm out of options I will skim through a Medium post, but usually I avoid them at first because they tend to be less helpful than non-Medium blogs, official docs, etc.