🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #800

Re: Why are the loops so awkward?

#800
From: Lawrence D'Oliveiro, Waikato Uni...
Date: Wed, 13 Jun 1990 05:18
14 lines
1136 bytes
There are two interpretations of this situation:

1) Unless they're a natural fit to the problem you're trying to solve,
   stay away from zero-based arrays. Only C programmers could love them.
2) FOR-loops also have their problems. So who needs FOR, WHILE and
   REPEAT loops, anyway? Use a LOOP statement with one or more EXITs instead.

Note that neither of these points is necessarily specific to Modula-2.

Lawrence D'Oliveiro
Computer Services Dept                    fone: +64-71-562-889
University of Waikato                      fax: +64-71-384-066
Hamilton, New Zealand            electric mail: ldo@waikato.ac.nz
DOS user interfaces have come a long way: Ctrl-K-B has given way to Alt-F4.
Technical Details
Message-ID: <728.26767558@waikato.ac.nz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ames!uhccux!virtue!ccc_ldo
References: <5377.26731960@puddle.fidonet.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ames!uhccux!virtue!ccc_ldo
From: ccc_ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
Newsgroups: comp.lang.modula2
Subject: Re: Why are the loops so awkward?
Message-ID: <728.26767558@waikato.ac.nz>
Date: 13 Jun 90 05:18:16 GMT
References: <5377.26731960@puddle.fidonet.org>
Organization: University of Waikato, Hamilton, New Zealand
Lines: 14