Same goes for comments, bad comments get downvoted and greyed out quickly, whereas great comments get elevated.
I like /r/coding but it's pretty dead and sometimes /r/scala will have decent blog posts. Also /r/hnblogs is very decent, but extremely slow, for insightful posts as well.
/r/homelab (I've dipped my toes into occasionally) has people who are passionate about their craft. The people who are interested in setting up a homelab are also likewise interested in investing (time and money) in it.
This differs from things like /r/learnprogramming where the people posting are not invested in it (the community or the craft).
Another difference would be the "who contributes new posts" aspect. With /r/homelab new posts come from people of all skill levels. With /r/learnprogramming they come from people who are at the very basic skill level.
The implications of this is that /r/homelab has peers helping peers while /r/learnprogramming needs people who aren't posting questions to post comments and provide additional material.
It's just a thought, I rarely use them but compared to most of the web it seems like a saner substrate
I haven't found a great answer for the question of community these days, outside of checking in on the blogs and newsletters of various developers. I'll have to check Code Project out though.