Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ico!ism780c!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: type *var -- vs. -- type* var Message-ID: <14554@haddock.ima.isc.com> Date: 8 Sep 89 19:52:10 GMT References: <4201@ohstpy.mps.ohio-state.edu> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 9 In article <4201@ohstpy.mps.ohio-state.edu> SMITHJ@ohstpy.mps.ohio-state.edu writes: >I have been learning C++ from a book by Bjarne and he consistently declares >pointers with `type* var;' rather than `type *var;' They're syntactically identical; whitespace isn't significant between tokens. It's just Bjarne's personal convention. I also dislike it, for the reasons you noted, and I wish he'd used the more conventional style. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint