Re: [dev] Learn C

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Wed, 27 Mar 2019 07:43:04 -0700

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

This archive was generated by hypermail 2.3.0 : Wed Mar 27 2019 - 15:48:07 CET