Hacker News new | ask | show | jobs
by the_af 4360 days ago
> because mutability may break homoiconicity (which is required for purity)

Are you sure you meant that? My (admittedly weak) understanding of homoiconicity is that it's unrelated to either purity or (im)mutability. Isn't homoiconicity related to the program text and its AST? Aren't there languages such as Haskell which encourage pure functions but are not homoiconic?

I'm pretty sure you meant something else...

1 comments

I bet "referentiality" was meant. It would make sense as a replacement for "homoiconicity".
I bet "referential transparency" was meant. It would make sense as a replacement for "referentiality". oops :(
Yes, that's what I meant, I don't know why I got it wrong.