>>> types
>>> =====
>>> user defined types start with a capital letter
>>> when possible typedef struct {} Name;
>>
>> Debatable.  I'd like to hear more opinions on this.
> 
> In most suckless code types always start with capital letters (pretty
> much acme/p9 influenced), as opposed to lower case everything else.
> This is much more readable than foo_t, which can be overlooked easily
> to be a type.
> 
> So definitely agree with the proposal.

[any]_t is a reserved namespace in POSIX.  User symbols should not use
it [1].


>>> more alignment
>>> --------------
>>> somefunc(foo   .bar, baz   );
>>> somefunc(bonzai.bar, qux   );
>>> somefunc(blah  .bar, blargh);
>>
>> I do not like this.
> 
> This sucks. No pretty printing of arg lists. Just a whitepace after each 
> comma.


Yeah, it really sucks!!

Regards,

[1] http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html


Reply via email to