Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
DrJokepu
9y ago
0 comments
Share
I agree that immutability is very useful, but you don't really need any kind of FP to use immutability, do you?
0 comments
default
newest
oldest
braythwayt
9y ago
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.
33degrees
9y ago
I was going to say the same thing; it's certainly possible to write immutable object oriented code
norswap
9y ago
Indeed, it's more of a pattern.
j
/
k
navigate · click thread line to collapse