Follow

I''m collecting interesting C style guides over at gemini://9til.de/cstyles.gmi. Any good one to recommend?

· · toot9 · 3 · 3 · 9

@julienxx i wish there was a more in-depth guide on whitney-style c (i should work on one...) but this works ok as a brief into: github.com/tlack/b-decoded#art

@jbauer @julienxx ugh always hated how brackets are done in GNU software...

@jeff @jbauer @julienxx I just use clang-format with whatever style does not look like gnu and call it a day.

I kinda got to like auto formater in Go, use it for everything else now too.

Julien, clang format includes a list of styles, google / lvm I think? you might want to have a look at their links

@julienxx do you have suckless yet? suckless.org/coding_style/

I find this wikipedia article on indentation styles surprisingly detailed: en.wikipedia.org/wiki/Indentat

Sign in to participate in the conversation
9til.de

A Plan 9 oriented server.