2008/9/8 Szabolcs Nagy <[EMAIL PROTECTED]>:
> On 9/8/08, markus schnalke <[EMAIL PROTECTED]> wrote:
>> [2008-09-07 21:24] Filippo Erik Negroni <[EMAIL PROTECTED]>
>>>
>>> Code that sucks less is code that compiles for many years to come, and
>>> strives for maximum portability, within reason.
>>
>> ... or is it code that's easy to understand and therefor easy to
>> maintain?
>>
>>
>> Pike and Kernighan call it:
>>   simplicity --- clarity --- generality
>
> relying on pointer 0 == integer 0 is simple and general
> (more general than relying on c99 not to mention posix, x11, ..)
>
> but if we really care about obscure 30 year old cpus (other than x86
> :)) then i'd go with my solution: c = malloc(); and *c = (Client){};


Well, I agree on this proposal and go for it. It is fairly simple and
nice looking imho.

Kind regards,
--Anselm

Reply via email to