Calling all self taught devs - how do you check the quality of your code?
Fraser McTaggart

Fraser McTaggart @fmctaggart

About: www.mctweb.co.uk

Location:
Scotland
Joined:
Aug 25, 2019

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

Publish Date: Oct 2 '20
6 6

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!

Comments 6 total

  • manish srivastava
    manish srivastavaOct 2, 2020

    Let GitHub to scan your code:
    dev.to/manishfoodtechs/github-code...

    Some free advise:
    dev.to/manishfoodtechs/10-layman-s...

    • Fraser McTaggart
      Fraser McTaggartOct 2, 2020

      I never realised that was a think! I've added a project to the queue to see what it picks up. Great articles btw.

  • Jason Gabler
    Jason GablerOct 2, 2020

    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.

  • Meir Gabay
    Meir GabayOct 2, 2020

    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.

  • Manav Misra
    Manav MisraOct 3, 2020

    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! 😊

Add comment