On Tue, Mar 26, 2019 at 11:21 AM <sylvain.bertrand_AT_gmail.com> wrote:
> C has already a syntax way too rich and flexible. Most of the
> linux coding guidelines is nice.
There is also a style page[0] at suckless. But again style is subjective
and the most important thing is consistency within a project.
> add a suffix to your type (u8_t, struct my_class_t)
Don't do this if you're using anything POSIX. The _t namespace is
reserved for POSIX types.[1]
[0]
https://suckless.org/coding_style/
[1]
http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02
Received on Wed Mar 27 2019 - 15:43:04 CET