Y
Hacker News
new
|
ask
|
show
|
jobs
by
eridius
4824 days ago
You can avoid mutating data in C if you want to. People just don't, because mutation is so convenient and fast.
1 comments
stelonix
4824 days ago
Yes, but standard C has
no way
to tell the compiler a variable is immutable (immutability != constness), so unless you go non-standard (and very verbose at it) Erlang is still a better tool for the job.
link