DEV Community

Discussion on: 9 Must-Know Rules for Writing Clean Code

Collapse
 
mickmelon profile image
MickMelon

Nice article. I couldn't agree more about the important of writing clean code. It goes a long way in making the code easier to understand and maintain, even when you are the only one working on the project.

I'd also add that consistency is better than correctness. If you are coming onto a well-established project, then you should follow the existing code styles and conventions, even if there are no specific guidelines. If every developer follows their own preferred coding style, then it could quickly lead to confusion and reduce overall code quality.

Collapse
 
dashsaurabh profile image
Saurabh Dashora

Absolutely agree with your point! Following project conventions is very important. Changes, if needed, should be brought in over time with a proper agreement...