Better HN
topnewbestaskshowjobs
Log inSign up

r3m3mb3rm3

4 karma · joined May 3, 2017 (9y ago) · 5 submissions

Submissions

comment 9y ago · link · parent

Thanks!!!

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Having all parameters to be read-only is a deal breaker for me.

comment 9y ago · link · parent

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"