Whitespace as syntax (was Re: Python Rocks!)

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Feb 16 22:11:43 EST 2000


tye4 wrote:
> 
> Pascal. Score: 2/10. 
> C++/Java. Score: 5/10

I don't see why Pascal and C[++] get different scores --
begin/end and {/} are isomorphic.

You don't have to indent an extra level in Pascal,
e.g.

  if foo then begin
    bar;
    stool;
  end;

-- 
Greg Ewing, Computer Science Dept,
+--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+



More information about the Python-list mailing list