Re: [dev] Learn C

From: Kurt Van Dijck <>
Date: Tue, 26 Mar 2019 20:56:07 +0100

I agree with most of your arguments

> * 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.

Why not use uint8_t etc. from stdint.h?

Received on Tue Mar 26 2019 - 20:56:07 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 26 2019 - 22:12:08 CET