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

Why do you need to mutate things in order to write a program? Operational programming may have damaged your brain.

(With regards to lenses, note that: This isn't mutating anything, and it's not a metaprogramming "hack" either. Functions as first-class entities instead of opaque blobs of code is one of the big wins of functional programming.)



> Why do you need to mutate things in order to write a program?

To change the state of the universe from one in which my program is not written to one where it is.

Furthermore, if the program I write mutates nothing upon execution there is no point in running it.




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

Search: