On Thursday, 15 May 2014 at 06:24:30 UTC, bearophile wrote:
If you start using pure in D you see it's like const: it allows you to remove certain kinds of your mistakes from the code, and it makes it more easy to reason about the code.

As lint like functionality, yes.

You can use mutability inside a strongly pure function. This is a very good.

Local mutability does not affect purity, it is the pre and post conditions at the call site that matters.

Reply via email to