News for hackers. Stuff that matters.
Re:A taste of Rust by gnuvince on Thursday April 25, 2013 @09:43AM (#5607077)
I think the syntax decision is a good one. Indentation-based structure is nice, however in some cases it can cause some pains: code generation or embedding code in a document are two common examples. As for requiring semi-colons, I don't really mind them; in fact, I'm less annoyed at having to type semi-colons than having to remember rules for auto-insertion or semi-colons.
Re:A taste of Rust by chongli on Thursday April 25, 2013 @10:58AM (#5607548)
Haskell solves this problem by allowing both. In any situation where layout/indentation has meaning, braces and semicolons may be substituted.