Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
DrJokepu
10y ago
0 comments
Save
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
3 comments · 3 top-level
top
newest
oldest
braythwayt
10y 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
10y ago
I was going to say the same thing; it's certainly possible to write immutable object oriented code
norswap
10y ago
Indeed, it's more of a pattern.
j
/
k
navigate · click thread line to collapse