Marc Lanctot on Tue, 3 Aug 2010 08:25:12 -0700 (MST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [game-lang] Language Syntax |
Just so we're clear on where I stand with this. On 08/02/2010 04:28 PM, Richard Walter wrote:
We have two potential rules: Rule A: Whitespace is never meaningful. Rule B: Whitespace at the begining of the lines is meaningful and used to indicate functional indention level, except when the previous line ended with an '\' to escape the newline, in which case whitespace at the beginning of the next line is not meaningful. Whitespace not at the beginning of the line is not meaningful. And I see rule A as being way clearer& concise than B.
I'm not particularly fussy with syntax .. or.. I'll speak up when I see examples and then decide I don't like the syntax.
On the meaningful whitespace issue: I see the advantages and disadvantages. I see how an imperative language benefits from meaningful whitespace. I (and others) would find it really weird to find a logical/imperative language where whitespace is meaningful (so would the community we'd eventually pitch this to, I think).
So I prefer A. Marc _______________________________________________ game-lang mailing list game-lang@xxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/game-lang