Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news From: scs@adam.mit.edu (Steve Summit) Newsgroups: comp.lang.c Subject: Re: Is this correct a=/* comment */b; Keywords: comment, operator Message-ID: <1991Feb7.032512.20133@athena.mit.edu> Date: 7 Feb 91 03:25:12 GMT References: <532@ctycal.UUCP> <584@taumet.com> Sender: news@athena.mit.edu (News system) Reply-To: scs@adam.mit.edu Organization: Thermal Technologies, Inc. Lines: 30 In article <532@ctycal.UUCP> pat@ctycal.UUCP (Patrick Woo) writes: > I have the following line in some third party source code > a=/* This is a comment */b; In article <584@taumet.com> steve@taumet.com (Stephen Clamage) answers correctly and then wonders: > ...why any compiler should accept =/ and friends any more since they were > ...listed as already obsolete -- 13 years ago! What I am wondering (pardon my French) is which pencil-necked "third party" cretin wrote that shit in the first place? I'm not yelling at you, Pat, but please tell us exactly who, so we can string him up by his thumbnails. There are at most two places for code like a=/* This is a comment */b; neither of them any good: 1. the obfuscated C contest, and 2. these silly discussions. Anyone who sticks a comment like that in anything even remotely resembling production code should probably be dragged out behind the barn on an icy, moonless night and put out of his misery with a 12-gauge like the pathetic dying mongrel he is. Steve Summit scs@adam.mit.edu