26 May
2021
26 May
'21
4:53 a.m.
Reply to Steven - Sorry for creating confusions. 1. Leave debugging. As I said that's not a good argument for the existence of constants. 2. "Constants doesn't mean we can't reassign the name to a different value." was differently intended. I was trying to say that we should *treat* it like a *literal*. I never said constant will be a type of variable. I was a little bit unclear in that message. 3. Constant will be constant name binding. Value can be mutated (if mutable) but the name cannot be reassigned. 4. constant pi = 3.14 # later pi = 3.1415 # Error