On 9 August 2010 14:00, wren ng thornton <w...@freegeek.org> wrote: > William Leslie wrote: >> Can you explain "the broken whitespace sensitivity of Python" to me? > > When programming in Haskell, whitespace behaves the way my intuitions > suggest it should from just scribbling stuff down on paper. (The few > discrepancies re the Haskell98 report are corrected in the Haskell2010 > report.) > > When programming in Python, my intuitions are constantly thwarted in one > way or another. E.g., requiring line-final backslashes to do line > wrapping is a gross hack;
If you need to use that you probably have other problems. Line continuation is implicit inside parenthesis, braces and brackets, which is the only place you'd ever want them. But then you are really talking about python treating newline as a statement delimiter, not about indentation. I think that newline makes a very intuitive statement delimiter. -- William Leslie _______________________________________________ bitc-dev mailing list bitc-dev@coyotos.org http://www.coyotos.org/mailman/listinfo/bitc-dev