Thanks!!!
I 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.
Honestly, I can't think of anything that is not bullshit. Having to declare a new variable for each parameter that you need to manipulate makes the code a lot messier.
Having all parameters to be read-only is a deal breaker for me.
Then you can say that you have some accounts but you don't remember the password anymore: "I'm just logged in from my computer at home. If I delete the cookies I don't know if I would be able to get the password again"
Thanks!!!
I 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.
Honestly, I can't think of anything that is not bullshit. Having to declare a new variable for each parameter that you need to manipulate makes the code a lot messier.
Having all parameters to be read-only is a deal breaker for me.
Then you can say that you have some accounts but you don't remember the password anymore: "I'm just logged in from my computer at home. If I delete the cookies I don't know if I would be able to get the password again"