On Sun, Sep 21, 2014 at 10:57:34PM +0000, Ola Fosheim Grostad via Digitalmars-d wrote: > On Sunday, 21 September 2014 at 22:41:04 UTC, H. S. Teoh via Digitalmars-d > wrote: > >with, and you'd have to explicitly ask for impure / mutable > > "Impure" should be on parameters so you can do dataflow in the > presence of FFI. > > So you basically need better mechanisms. > > But then you have to analyze the needs first (e.g. the desirable > semantics that currently are avoided) All of then. > > Adding one hack after the other is not the best approach. [...]
Eventually the real solution is automatic inference, with the user using explicit attributes at the top-level where they are desired, and the compiler will take care of the rest. T -- Creativity is not an excuse for sloppiness.
