As developers, we often chase functionality, but forget that our code should be readable, consistent, and maintainable โ for others and, letโs be honest, for our future selves (the forgetful kind, two weeks from now ๐ ).
To help myself (and maybe you too), I built a small browser-based tool that lets you go through a clean code checklist for JavaScript, Python, and PHP โ right in the browser.
Just tick off what youโve covered โ and see how clean your code really is!
๐ Try it here:
Clean Code โ Principles + Checklist
Whatโs inside?
Clean code fundamentals: naming, structure, DRY, KISS, YAGNI
SOLID principles (for JS, Python and PHP)
Language-specific best practices
Simple form โ check, reflect, improve
How to check your code for cleanliness?
Follow the link to the site
Select the language on the right. By default, the site is in English, but you can select Ukrainian.
On the left side, select the language of your program. Currently, checking is available for JS, PHP and Python.
Read the principles, then check your code and check the boxes. If all the fields are filled in honestly, then I can congratulate you and you have a clean code and you can share it with your client.
This tool doesnโt replace a linter or code review โ but it works great as a mindful reminder, especially before a final push or a big refactor.
The project is still evolving โ if youโve got feedback or ideas, feel free to reach out.
I might add support for more languages or local progress saving.
Write clean. Write with care.
And may your code read like a good poem โ simple, clear, and alive.
Top comments (5)
Useful product! It would be great if you could paste your code directly into the tool, and the checkboxes would automatically be marked when clean code principles are followed.
P.S. I agree with the previous comment โ it would be better to make English the default language. Although I personally know Ukrainian, I think that's quite rare on dev.to
Ok. Already changed English as default language. Thanks for your feedback.
Amazing list! Bookmarked. Will definitely use in my projects. Thank you.
Btw, I think it may be better to serve the page in English by default, because the language buttons were not clear to me immediately upon entering the page.
Thank you very much. Glad you liked it :)
absolutely love this idea, man, i get lost in my own mess of code all the time
you feel like a checklist actually changes your habits after using it for a while