Hacker News new | past | comments | ask | show | jobs | submit login

I agree that immutability is very useful, but you don't really need any kind of FP to use immutability, do you?



If your data is immutable, in what sense is your code not 'Functional Programming?'

"It's OO, and it can't be both OO and FP."

Hmmm.


I was going to say the same thing; it's certainly possible to write immutable object oriented code


Indeed, it's more of a pattern.




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

Search: