Re: Variable naming conventions.
James Harris wrote:
There is a better case to be made for types. I still don't like the _t
suffix, but it's already codified by POSIX and ISO C, so it's a widely
adopted convention by now.
PS. Note that if you're also coding to the POSIX standard, then user
defined types cannot use the _t suffix, which is reserved for the
implementation.
James Harris wrote:
On 10 Aug, 04:16, CBFalconer <cbfalco...@yah oo.comwrote:
>
What about types:
>
size_t
>
?
>Richard Heathfield wrote:
>>
>>
>>
>>
>Except for pointers.
James Harris said:
<snip>
>I should have said, some people like to include type information
>as part of the name, either at the beginning or the end.
>as part of the name, either at the beginning or the end.
There should be a law against that.
>Except for pointers.
What about types:
>
size_t
>
?
suffix, but it's already codified by POSIX and ISO C, so it's a widely
adopted convention by now.
PS. Note that if you're also coding to the POSIX standard, then user
defined types cannot use the _t suffix, which is reserved for the
implementation.
Comment