News for hackers. Stuff that matters.
Re:First taste of Rust by maikklein on Thursday July 31, 2014 @04:36AM (#8113043)
I was pleasantly surprised by the combination of pure functions..

But Rust doesn't have pure functions.

Re:First taste of Rust by simias on Thursday July 31, 2014 @04:49AM (#8113081)
Well, rust does have pure functions (as most programming languages) you just can't tag a function as such to have the compiler enforce the purity for you (it used to, though).

That being said I'm not sure why the author mentioned that point in particular. Maybe he feels that having immutable-by-default semantics encourages writing pure functions?

Re:First taste of Rust by PudgePacket on Thursday July 31, 2014 @05:13AM (#8113145)
You've hit the nail on the head!
Re:First taste of Rust by PudgePacket on Thursday July 31, 2014 @05:11AM (#8113138)
Hmm, perhaps I was a little overzealous in my attribution, I'll amend that, thank you.