On Tue, Mar 26, 2019 at 08:37:18PM +0100, Quentin Rameau wrote:
> > * do not use enum (hard rule)
> > * do not use typedef (hard rule)
> > * use sized types: u8 u16 i64 float32 etc... you can use the C
> > preprocessor to fix that, but in some case, as a good tradeof (for instance in
> > "object oriented C code"), add a suffix to your type (u8_t, struct my_class_t), then
> > for instance you can nest structs, struct base_type_t base_type.
> > * I personnaly add a macro #define loop for(;;) and use only 1 loop
> > statement (hard rule)
>
> :/
Hard thruth
Received on Tue Mar 26 2019 - 21:09:05 CET
This archive was generated by hypermail 2.3.0
: Tue Mar 26 2019 - 21:24:08 CET