Keeping Your Code Squeaky Clean

Photo by pan xiaozhen on Unsplash

Truth can only be found in one place: the code.

— Robert C. Martin, author of Clean Code

Why is Clean Code So Important?

How to Keep Your Code Clean

Use Meaningful Names

string text;
string lastName;

Avoid Useless Comments

Single Responsibility Principle

Write Unit Tests

Organise Your Project Well

Clean Code Implementation in My PPL Project

Conclusion

Reference

CS Student

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store