7 Practices for Writing Good Code

Having delved into the world of programming for many years, but only now really taking it seriously on a personal level and a teaching level, I can see how important clean coding and commenting can be.

“Code readability is a universal subject in the world of computer programming. It’s one of the first things we learn as developers.” – Burak Guzel

Adapted and paraphrased from Top 15+ Best Practices for Writing Super Readable Code.

Also see Source Code Comment Styling: Tips and Best Practices.

1 - Commenting and Documentation

2 - Consistent Indentation

3 - Code Grouping

4 - Consistent Naming Conventions

5 - Avoid Deep Nesting

6 - Limit Line Length

7 - Capitalise SQL Special Words

Similar Posts: