Skip to content

Comment on JavaScript in your Postgres

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.