Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!zephyr.ens.tek.com!tektronix!percy!m2xenix!puddle!p25.f506.n106.z1.fidonet.org!Jon.Guthrie From: Jon.Guthrie@p25.f506.n106.z1.fidonet.org (Jon Guthrie) Newsgroups: comp.lang.modula2 Subject: Re: Why no ** operator in Modula2? Message-ID: <3253.28683DC3@puddle.fidonet.org> Date: 21 Jun 91 13:45:28 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 1:106/506.25 - Fulcrum's Edge, Spring TX Lines: 27 On a message of 18-Jun-91, Scott McMahan (1:105/42.0) Said: > To close: Which is better? > > WriteString("Amount: "); > WriteInt(NumberOfThings[1]); > Write("."); > WriteLn(); > -or- > printf("Amount: %d.\n"); > From a programmer's point of view? Well, since the latter leads itself to errors that the compiler cannot catch (for example, LEAVING OUT WHAT YOU WANTED TO PRINT!) I'd have to say the first. A bug that the compiler catches is one that the customer will not. -- uucp: uunet!m2xenix!puddle!106!506.25!Jon.Guthrie Internet: Jon.Guthrie@p25.f506.n106.z1.fidonet.org