4 ms·
> Just because it is an immutable value doesn’t mean it needs to live on the stack. Right. But the context of the example made me imagine it probably was -- s
by ezekiel68 3y ago
> Just because it is an immutable value doesn’t mean it needs to live on the stack.
Right. But the context of the example made me imagine it probably was -- since I would likely reject out-of-hand any new language that always allocated variables on the heap.