Re:The Rust programming language
by jamesbritt on Thursday July 08, 2010 @11:47PM
(#1499696)
Within (1) there are options, as presented by Haskell (the offside rule) and Haml (you must indent exactly to _here_, no more, no less). The latter is nuts ("significant dementation", one might say. :) ).
Plus some languages, such as Haskell, allow for both braces and significant indentation, with the language culture encouraging responsible usage.
1) space significant (Python, Esterel) 2) braces or other one character delimiters 3) begin/end or other word delimiters
I find 3) very noisy and while I like 1) (even though I dislike Python), I find that 2) is a pretty good compromise, one where I don't find myself having to visually parse classes ending in "end end end end end".