Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've never seen IMMUTABLE used to describe a function before... Wouldn't PURE (a la Rust) be less confusing?


fyi, I believe that the 'pure' keyword has been removed in recent releases of Rust.


Oh really! Is there a discussion somewhere as to why? It seemed (from the outside) like a neat idea for any language which supports mutable as well as immutable variables...


Can't find the original thread, but you'll find [1] interesting.

1: https://mail.mozilla.org/pipermail/rust-dev/2013-January/002...


Wow that was very interesting indeed, thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: