digitalmars.D - Purity problems in Rust
- bearophile (6/6) Dec 19 2013 Why they have removed (?) purity-on-default from Rust language:
Why they have removed (?) purity-on-default from Rust language: http://article.gmane.org/gmane.comp.lang.rust.devel/3855 There is also the Reddit thread: http://www.reddit.com/r/programming/comments/1t8y6g/why_rust_ditched_pure_functions/ Bye, bearophile
Dec 19 2013
On Thursday, 19 December 2013 at 22:07:31 UTC, bearophile wrote:Why they have removed (?) purity-on-default from Rust language: http://article.gmane.org/gmane.comp.lang.rust.devel/3855 There is also the Reddit thread: http://www.reddit.com/r/programming/comments/1t8y6g/why_rust_ditched_pure_functions/ Bye, bearophileHave just read that and my reaction was "woot?" (though as far as I have understood, it is not being removed, just refused to be added). Well decision itself is discussable but rationale comes essentially to "we can't define what `pure` means" which is.. weird.
Dec 19 2013
No, he tells they had pure by default, but because most code is impure, annotations became a noise.
Dec 22 2013