When developing software over the years I accumulated a couple of good
practices I found to result in code that is easier to maintain. I keep
applying these guidelines across projects, unless there are others (for
example when contributing to an open source project with its own
CONTRIBUTING
style, or when freelancing for companies with their own
style).
I collect these documents here so that I can reference them for my own projects. But feel free to use or modify them for your own purposes.