+ 4-space indentation + u8, u16, u32 etc. shorthand + pointer star goes after the space + brace style i use sometimes + doesn't use func decls unless required + static everything + de-indented labels + simple snake_case func names + simple shorthanded var names + …no comments? - lowercase hex - doesn't use braces for single statements (i make an exception if it fits on one line) - i very rarely use the file descriptor interface
(keep in mind this isn't a pro/con list; i don't claim my habits are the best)
cybrespace: the social hub of the information superhighway
jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal
support us on patreon or liberapay!
list of (dis)similarities
+ 4-space indentation
+ u8, u16, u32 etc. shorthand
+ pointer star goes after the space
+ brace style i use sometimes
+ doesn't use func decls unless required
+ static everything
+ de-indented labels
+ simple snake_case func names
+ simple shorthanded var names
+ …no comments?
- lowercase hex
- doesn't use braces for single statements (i make an exception if it fits on one line)
- i very rarely use the file descriptor interface
(keep in mind this isn't a pro/con list; i don't claim my habits are the best)