mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
830 B
830 B
mcaselector-lite style reference
contents
recommended tools
- gcc
- git (duh)
- clang-format
- clang-tidy
- linux / unix-like machine
style guide
- Code must be written correctly, read Correct C if more information is required.
- K&R style braces/indentation
- typedefs are discouraged
- snake_case is used for all user-defined symbols. Macros are often all-uppercase, same goes for enums and other types of compile-time constants.
- tabs are used for indentation, spaces are used for alignment.
- British spelling is (generally) preferred, but not enforced.
- commits should attempt to convey clearly what is being changed, for the sanity of the maintainer(s).