3 ms·
> It's mostly useless to declare a variable that cannot be assigned. So all functional languages (where immutability is the default) are mostly useless?
by tempodox 7y ago
> It's mostly useless to declare a variable that cannot be assigned.
So all functional languages (where immutability is the default) are mostly useless?
- loeg 7y agoIf you declare a variable in this way in C, it can never be assigned. Not once — zero times. What is or is not good practice in C has little bearing on or relationship to functional languages, so I'm not sure why you bring them up in this context.