On Wednesday, 24 December 2014 at 09:02:56 UTC, Kagamin wrote:
If you require another variable for a sanitized version of `n`, you get confused, when to use `n` and when to use `x`, they are

Btw, this is case where preventing shadowing becomes an issue, as you could have solved this easily using immutable shadowing:

func(immutable int n){
   @trustmeiwantoshadowthis immutable n = sanitize(n);
   ...
}

Reply via email to