-
Notifications
You must be signed in to change notification settings - Fork 0
Coding conventions
I’m kind of particular about the way I write my code. I like it to be consistent and clear to both myself and others trying to use it. I’ve realized that for myself and anyone hoping to work with code I’ve written it would be both interesting and useful to lay out how I do it. My most specific guidelines relate to C and C++, both of which can have huge readability problems if not written clearly. I’ve also done a lot of work in Scheme, and I have to say that I think some of my conventions are among the clearest I’ve seen.
This all being said, now I have to put on the “bad cop” hat. If you want to work with my code and make any contributions, I need it to conform to my style. I’ve designed my conventions to be as readable as possible, and I would like that to stay consistent across the project. Please read through these guidelines, as I will likely reject code that deviates from it.
- C and C++ — All you need to know (and I mean all) about coding like me in C and C++.
- Scheme — Some guidelines for how to legibly make the best use of your lambdas.
Back to home