No. Make value parameters immutable, period. No mutable version as an option. This does not expose anything to the caller.
The same reasoning applies to making all value parameters mutable.
Daniel Murphy via Digitalmars-d Wed, 24 Dec 2014 00:26:32 -0800
No. Make value parameters immutable, period. No mutable version as an option. This does not expose anything to the caller.
The same reasoning applies to making all value parameters mutable.