lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> -------- Original Message --------
> Date: Wed, 2 Feb 2011 09:10:32 +0200
> From: Dirk Laurie <dpl@sun.ac.za>
> Subject: Re: Lua on Reddit again
> To: Lua mailing list <lua-l@lists.lua.org>
> Message-ID: <20110202071032.GE11533@rondloper>
> Content-Type: text/plain; charset=utf-8
> 
<...snip...>
> 
> But that particular quote shows Dijkstra shooting himself in the foot.
> He starts off: “To denote the subsequence of natural numbers 2, 3, ..., 
> 12 without the pernicious three dots, four conventions are open to us”, 
> these being the four ways of combining one of < or <= with another.  
> In Pascal one can write 2..12 — but dots are pernicious, and besides
> the notation was invented by Wirth!!  So Dijkstra does not even consider
> it!
> 
> Dirk

I assume he thought readers would realize that three dots notation is
equivalent to convention c), which he finds inferior to convention a)
after several considerations. At that point, there is little reason to
elaborate further upon three dots notation (or Pascal two dots
notation).

John Giors
Independent Programmer
Three Eyes Software
jgiors@ThreeEyesSoftware.com
http://ThreeEyesSoftware.com