RIP CodeProject
Medium
I’ve never written there, but judging by the search results, it could be a suitable replacement.
Stack Overflow
Answers to specific questions, nothing superfluous. Not suitable as a training site.
GitHub
Great idea for source hosting, but still not the same. Many interesting projects contain a minimum of explanation. Such projects would not be moderated on CodeProject, and the authors would be asked to add explanations.