|
|
|
|
|
by CodeArtisan
1913 days ago
|
|
>The alternative to OOP is not FP, it's pre-OOP imperative programming with various techniques a la carte. The alternative to an object is an abstract data type; both are data abstraction techniques that hides the data under a set of operations. The main difference is that an object includes an interface while an ADT does not. Nothing prevent an object interface to be functional nor an ADT set of operations to be procedural. |
|