4 ms·
It's a trade-off. Yes, the code is messier for the 20% of functions where the input is manipulated. For the remaining 80% it makes it slightly easier to analys
by MarkMc 9y ago
It's a trade-off. Yes, the code is messier for the 20% of functions where the input is manipulated. For the remaining 80% it makes it slightly easier to analyse the behaviour of the function.
- r3m3mb3rm3 9y agoI understand that. But I think it's better to let the programmer decide whether their parameters are mutable or not. Then you don't have to compromise.