Donghwan
12/15/2023, 3:31 AMvar (a, b) = somePair() // OK
(a, b) = somePair() // Error !
Daniel Pitts
12/15/2023, 3:52 AMDonghwan
12/15/2023, 6:10 AMCLOVIS
12/15/2023, 8:26 AMa
will be, because it could be changed anywhere in the function.
I know this seems like a very small detail at first, but trust us, immutability makes everything a lot simpler. It allows writing much more complex systems while keeping individual functions simple.