How do you check the quality of your code? Have you joined forces with others to code review each other?
I'm curious as to how others approach the subject!
How do you check the quality of your code? Have you joined forces with others to code review each other?
I'm curious as to how others approach the subject!
For further actions, you may consider blocking this person and/or reporting abuse
guest blogging technology -
Sadee -
Ben Halpern -
Syakir -
Top comments (6)
Code reviews, knowing the principals of good practices and being aware of how easy or difficult it is to augment, refactor or otherwise modify the code later on, especially for other developers working with code you've written.
I believe it is that last item which provides the strongest metric.
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.
Let GitHub to scan your code:
dev.to/manishfoodtechs/github-code...
Some free advise:
dev.to/manishfoodtechs/10-layman-s...
I never realised that was a think! I've added a project to the queue to see what it picks up. Great articles btw.
Please let me know how was github scan.
Well, just 👍🏽 about any software ✍️ unit tests. For JS, 🤔 with Jest and then, 🤔 E2E with Cypress.
Short of that proper linting in place, especially with AirBnB goes a long way...or just having friends and family try stuff out! 😊