Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It does not need to mutate this but it can:

1. Read the fields of 'this' 2. Write the fields of 'this' 3. Call other methods of 'this' (including "private" methods in many OOP languages)

That is very characteristic of OOP languages. Does anybody know if FP languages have something like the 'this' and if not what do they use instead?



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

Search: