I have documented and published, for the first time, my personal code style guide. It is a living document (which is why it’s in git) that I will update periodically as I consciously notice more of my longstanding habits and techniques. I estimate it’s 70-80% complete (at least for Go) presently; the other languages included are just stuff that’s off the top of my head.
Half the trouble with documenting things like this for publication is that a ton of my experience and methods are so ingrained that I don’t even notice them anymore.
It is my hope that it is useful and instructive to less experienced programmers. I will do my best to amend it.
It can be found at: https://git.eeqj.de/sneak/styleguide.
Feedback is welcome. I can, as always, be reached at sneak@sneak.berlin.
The comment thread for this post can be found on the BBS.
Jeffrey Paul is a hacker and security researcher living in Berlin and the founder of EEQJ, a consulting and research organization.