Style guide indeed

Jim Vlcek vlcek at mit-caf.MIT.EDU
Wed Jul 19 10:58:36 AEST 1989


Someone recently posted a reply to a posting about pointer
comparisons:

>>       if (sptr= (struct xyzzy *)malloc(...), !sptr)
>>               fatal("cannot malloc");

>This was from a *style* guide?  Yeah I suppose it works, though I am 
>too lazy to check if the comma operator has a guaranteed order of
>evaluation.  I seldom use it.

Why is it that people are so frequently too lazy to find out the
correct answer, but have more than sufficient energy to post wholly
unenlightening replies?

Jim Vlcek  (vlcek at caf.mit.edu  uunet!mit-caf!vlcek)



More information about the Comp.lang.c mailing list