Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!mit-eddie!mit-amt!mit-caf!vlcek From: vlcek@mit-caf.MIT.EDU (Jim Vlcek) Newsgroups: comp.lang.c Subject: Style guide indeed Message-ID: <2880@mit-caf.MIT.EDU> Date: 19 Jul 89 00:58:36 GMT References: <10099@mpx2.mpx.com> <93@microsoft.UUCP> Reply-To: vlcek@mit-caf.UUCP (Jim Vlcek) Organization: Microsystems Technology Laboratories, MIT Lines: 15 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@caf.mit.edu uunet!mit-caf!vlcek)