Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bluetomcat
on Feb 7, 2023
|
parent
|
context
|
favorite
| on:
All programming philosophies are about state
The so maligned "state" in FP resides in the call stack:
f(g(h(x)))
It's a mutable and invisible data structure that drives the execution of the program.
naasking
on Feb 7, 2023
[–]
It's not mutable and it's not a stack in the model, that's just an implementation artifact used for efficiency. You could equally well allocate every function context on the heap.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: