Anonymous
10/17/2025, 6:01:13 PM
No.106919663
>>106919589
you still have a stack, references, and return types
using globals gives you an opportunity to overwrite state that isn't your own.
parameterizing state into the stack means you only even see the data your function depends on.
embedded developers will then complain about not enough memory but turn around and buy a 32M atmel chip with 256MB of nvram and duplicate the nv storage 6 times "because it's easier"
you still have a stack, references, and return types
using globals gives you an opportunity to overwrite state that isn't your own.
parameterizing state into the stack means you only even see the data your function depends on.
embedded developers will then complain about not enough memory but turn around and buy a 32M atmel chip with 256MB of nvram and duplicate the nv storage 6 times "because it's easier"