Rust-lang
Posted Apr 5, 2013 8:21 UTC (Fri) by
dgm (subscriber, #49227)
In reply to:
Rust-lang by man_ls
Parent article:
Mozilla and Samsung building a new browser engine
I don't find those much problematic, but go read the tutorial, and in section 3.1 you will find that:
let var =
if (condition1) {
value1
} else {
value2
};
is completely different from:
let var =
if (condition1) {
value1;
} else {
value2;
}
The second one would be almost surely a mistake, but the compiler would not complain. In my opinion this defeats the purpose of doing Yet Another Curly Brace Language. The mere fact that they feel they need to point it out in the tutorial is a clear sign that something is wrong here.
I hope they get this sorted out before 1.0
(
Log in to post comments)