k0ga_AT_shike2.com wrote:
> For long time I followed the rule of kernel style of not using typedef
> ever, but I changed it to the rule of using typedef only with structs
> and capital letter, and I can say that this last is far better; You
> get more readable function definitions:
Not typedefing really makes code hard to read. I switched to typedefing
pretty much everything used more than twice. Usually suffix typenames
with _e, _u, _s and _fn for enums, unions, structs and functions
respectively.
Received on Thu Nov 20 2014 - 13:46:01 CET
This archive was generated by hypermail 2.3.0
: Thu Nov 20 2014 - 13:48:10 CET