Mozilla Rust 0.1

Kagamin spam at here.lot
Sat Jan 28 02:56:22 PST 2012


On Tuesday, 24 January 2012 at 19:11:09 UTC, Ary Manzana wrote:
> I can't believe people are still creating languages with 
> curly-brace syntax.

I can believe people use Visual Basic crap like python.

> And also, what's the advantage of the language? Having to type 
> "fn" instead of "function" or "def"? Having to type "iface" 
> instead of "interface"?

If you want to write code fast, you need to type less, that's why 
saving keystrokes is important feature of a modern language. BTW, 
it's D way to programming too.

> Just look at this:
>
> fn mk_appender(suffix: str) -> fn@(str) -> str {
>   let f = fn@(s: str) -> str { s + suffix };
>   ret f;
> }
>
> YUCK!

This snippet is my first experience with Rust. It surely seems 
esoteric on the first sight, but it didn't take me long to 
understand it as you already documented its keywords. Though I 
don't like these backward declarations.


More information about the Digitalmars-d-announce mailing list