3 ms·
No, those things are totally orthogonal and people just mix it up because OOP came with mutations. Bundling data and functions has pros and cons but has nothin
by valenterry 4y ago
No, those things are totally orthogonal and people just mix it up because OOP came with mutations.
Bundling data and functions has pros and cons but has nothing to do with functional programming it.
Also, there isn't really a good definition for either functional style or functional language. If anything, there is a good definition for pure functional programming, but that's another beast alltogether and still is orthogonal to bundling data and functions.