Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

there are some hipe_bifs that let you do naughty and unpure things like destructive modification of arrays and what-not.


With all due respect metabrew, if you do that you are a nutter.

Non-mutability is not some crazy quick left there as an afterthought - it is at the core of Erlang - it is how you build reliable systems in the presence of errors.


And nifs can be made to do most anything you want to module-private data.

But if you're cheating on purity, there better be a darn good reason.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: