Python scoping

Steven D. Majewski sdm7g at virginia.edu
Fri Oct 27 11:17:47 EDT 2000


On Thu, 26 Oct 2000, Michael Ackerman wrote:


> "Steven D. Majewski" wrote:
> > 
> > On Tue, 24 Oct 2000, Joshua Muskovitz wrote:
> > 
> .
> >  A situation where the human eye uses indentation and the compiler
> > uses braces is unsafe.
> 
> Why is it unsafe? Doesn't it work well in Haskell?
> 

Doesn't Haskell use the "offside rule" like Python, and make
the compiler follow the same rules as the human eye ? 


---|  Steven D. Majewski   (804-982-0831)  <sdm7g at Virginia.EDU>  |---
---|  Department of Molecular Physiology and Biological Physics  |---
---|  University of Virginia             Health Sciences Center  |---
---|  P.O. Box 10011            Charlottesville, VA  22906-0011  |---
		"All operating systems want to be unix, 
		 All programming languages want to be lisp." 





More information about the Python-list mailing list