On Fri, 2014-03-21 at 23:47 +0000, Frustrated wrote: […] > Um, ALGOL was created in the early 60's of which python's spacing > scheme is based on. Just because python came out after C does not > change that. Do you think it might have been possible that > Ritchie learned the lessons of ALGOL of which Rossum spat in his > face? Some people just never learn from history... > > "Python mandates a convention that programmers in ALGOL-style > languages often follow." > > http://en.wikipedia.org/wiki/Python_syntax_and_semantics#Indentation
ALGOL60 had begin and end to delimit blocks, the indentation of the block was a visual thing to help readability, just as in C, C++, D. ALGOL60 did not have significant whitespace and an offside rule, just like C, C++ and D don't, whereas Python, OCaml, etc. do. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
