🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2334

Re: Why no ** operator in Modula2?

#2334
From: Larry Smith
Date: Tue, 18 Jun 1991 18:13
30 lines
1419 bytes
In article <1991Jun18.171233.22657@rock.concert.net> mcmahan@cs.unca.edu (Scott McMahan) writes:
>
>and I *HATE* CaseSensiTivityInModulesAndProcedures!  I never *use*
>uppercase/lowercase names (:-)) but the library modules do.

Of course, it *does* enforce a consistancy of spelling which makes for
more readable programs, at the expense of typing them properly in the
first time.

>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, Scott, I'd have to say the former is better, from a programmers view.
After all, the Modula you gave is correct, but the C version will print
garbage.  :)   :)   :)

-- 

Larry Smith
smith@ctron.com
The usual disclaimer stuff...
Technical Details
Message-ID: <1677@balrog.ctron.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!balrog!smith
References: <1717.285A64EB@puddle.fidonet.org> <1663@balrog.ctron.com> <TARJEIJ.91Jun18084649@ulrik.uio.no> <1991Jun18.171233.22657@rock.concert.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!balrog!smith
From: smith@ctron.com (Larry Smith)
Newsgroups: comp.lang.modula2
Subject: Re: Why no ** operator in Modula2?
Keywords: -look-and-feel-
Message-ID: <1677@balrog.ctron.com>
Date: 18 Jun 91 18:13:10 GMT
References: <1717.285A64EB@puddle.fidonet.org> <1663@balrog.ctron.com> <TARJEIJ.91Jun18084649@ulrik.uio.no> <1991Jun18.171233.22657@rock.concert.net>
Sender: news@balrog.ctron.com
Organization: Cabletron Systems Inc.  Rochester, NH
Lines: 30
Nntp-Posting-Host: glinda