3 ms·
> because mutability may break homoiconicity (which is required for purity) Are you sure you meant that? My (admittedly weak) understanding of homoiconicity is
by the_af 12y 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...
- abathologist 12y agoI bet "referentiality" was meant. It would make sense as a replacement for "homoiconicity".
- abathologist 12y agoI bet "referential transparency" was meant. It would make sense as a replacement for "referentiality". oops :(
- Denommus 12y agoYes, that's what I meant, I don't know why I got it wrong.