Donald Knuth: Using Indentation to Represent Program Structure(jeremyhylton.blogspot.com)
jeremyhylton.blogspot.com
Donald Knuth: Using Indentation to Represent Program Structure
http://jeremyhylton.blogspot.com/2006/06/using-indentation-to-represent-program.html
3 comments
Indentation is merely horizontal positional information.
The idea of using position to convey information is very old - music is written using vertical position information.
The idea of using position to convey information is very old - music is written using vertical position information.
When I work in Python, I find I need to use emacs' support for rectangle editing frequently when rearranging nested blocks.
In practice, though, I never have any problem with indentation based syntax, because change in indentation is easy enough to detect, and that's good enough for anything I've ever had to read.