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

Re: 6502 illegal opcodes questions



In article <z6qdnXs_mfZaiBzZRVn-ig@comcast.com>,
Michael J. Mahon <mjmahon@aol.com> wrote:

> Many years later, I think that the "offside rule" for delimiting
> blocks simply by indentation is a very nice approach.  Why on
> earth should white space, the most significant characteristic of
> text to the human eye, be ignored by most programming languages?
> 
> So the following would be properly "bracketed" by the offside
> rule:
> 
> if condition1
>     or condition2
> then foo
>       blah
>       blah
> else bar
>       blah
> nextstatement
> ...

Chek out the Python language!  It does just that.

-- 
----------------------------------------------------------------
Paul Schlyter,  Grev Turegatan 40,  SE-114 38 Stockholm,  SWEDEN
e-mail:  pausch at stockholm dot bostream dot se
WWW:     http://stjarnhimlen.se/