2 ms·
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" met
by galaxyLogic 4y ago
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?