|
|
|
|
|
by timr
6400 days ago
|
|
I'm aware of that. But then, every program is procedural at some level; show me a program that doesn't execute as a sequence of steps. The point is, OO does not require that your code be executed any more sequentially than does a functional language. |
|
OO does not require that your code be executed any more sequentially than does a functional language.
If by "OO", you mean mainstream OO languages like Smalltalk or Java, then they absolutely do have a more operational definition than a pure functional language does. Objects send messages to other objects; as a result of receiving a message, the internal state of an object changes.