News for hackers. Stuff that matters.
Re:Functional Programming – How and Why by galaxyLogic on Tuesday January 03, 2023 @08:59PM (#34240964)
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?

There are no comments on this comment yet.