DEV Community

Discussion on: Calling all self taught devs - how do you check the quality of your code?

Collapse
 
unfor19 profile image
Meir Gabay

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.