Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!bader+ From: bader+@andrew.cmu.edu (Miles Bader) Newsgroups: comp.lang.c Subject: Re: A question of style Message-ID: Date: 1 Dec 89 21:49:05 GMT References: <547@mars.Morgan.COM> <1989Nov30.001947.14883@aqdata.uucp>, <427@jhereg.Minnetech.MN.ORG> Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA Lines: 11 In-Reply-To: <427@jhereg.Minnetech.MN.ORG> mark@jhereg.Minnetech.MN.ORG (Mark H. Colburn) writes: > The code above could be written as > > while (c = getchar && c != EOF) { > ... > } > > Which most programmers would find "more intuitive" than the comma seperated > one. But it doesn't work when c=='\000'!