I mainly go for - learn from good projects.
Every time that I need to develop something new, I search for an existing and well maintained project.
Some concrete examples -
If I need to develop a Python app, which follows the object oriented pattern - I look at the Django project before I start.
For creating a Python package I'd look in numpy or pandas projects.
And for a Python CLI, the aws-cli is a great example.
(I chose Python, but it's relevant to any project/language)
And of course, peer reviews are the best choice, but you need to know how to tempt someone to check your code. The way I do it - share only short meaningful snippets that require special attention, and include comments wherever it makes sense.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I mainly go for - learn from good projects.
Every time that I need to develop something new, I search for an existing and well maintained project.
Some concrete examples -
If I need to develop a Python app, which follows the object oriented pattern - I look at the Django project before I start.
For creating a Python package I'd look in numpy or pandas projects.
And for a Python CLI, the aws-cli is a great example.
(I chose Python, but it's relevant to any project/language)
And of course, peer reviews are the best choice, but you need to know how to tempt someone to check your code. The way I do it - share only short meaningful snippets that require special attention, and include comments wherever it makes sense.