codesoftwareorganisationquick• PUBLISHED Saturday, February 4, 2023

Great programming patterns

I code a lot. About 4 hours a day in general - for over 18 years.

I’ve coded websites, little programs, adruino boards and midi controllers.

One thing i can definitivly say is that the code that I can go back to about 5-6 years later and understand is the good stuff. Mind you, there is a lot of stuff - especially in the early days, or slammer projects which are absolutely atrocious to go back to. Most of it boils down to some very simple basic principles.

1. Folders are your best defense (and offense!)

2. Variable names are the next line

3. Break your code up into smaller files

4. Reuse and repeat -> but comment your source

5. Comment what you want to do before you do it.

More like this

See all →
← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ← ↑ → ↓ ↔ ↖ ↗ ↘ ↙