News for hackers. Stuff that matters.
Re:A taste of Rust by lobster_johnson on Thursday April 25, 2013 @02:33PM (#5609017)
Yes. And I really dislike that there is a difference. The semicolon is so small and what the block returns is so important, it's a really weird thing to love.
Re:A taste of Rust by lobster_johnson on Friday April 26, 2013 @01:49AM (#5611681)
Since I am being downvoted for expressing a technical criticism, let me clarify:

I like explicitness, readability and clear, unambiguous syntax. Two small dots at the end of a line completely changing the entire block's meaning is, to me, a violation of those principles.

Re:A taste of Rust by kibwen on Friday April 26, 2013 @09:16AM (#5612693)
My own immediate reaction upon first reading the Rust tutorial was that significant semicolons were completely brain-dead. However, time went on and I was never able to think of a scenario where the compiler wouldn't immediately detect an errant or missing semicolon. Nowadays I completely adore them (though I still recommend that people use an explicit `return` in any expression of nontrivial length).