General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Dmitry Kazakov
Continuous Delivery
comments
Comments by "Dmitry Kazakov" (@dmitrykazakov2829) on "Continuous Delivery" channel.
Previous
1
Next
...
All
You touch all issues but rather discuss procedural vs functional. OO is procedural with an elaborated abstract type system on top of it. Type declarations in an OO language form a declarative sublanguage. So an OOPL has both an imperative and declarative parts. (The right opposition is imperative vs declarative) Inheritance is an operation of the types algebra like aggregation, arrays etc. So OO deploys decomposition into abstract types, while functional does into functions (and so has an algebra of). [SQL you mention is declarative and uses relational algebra.] When you talk about functions as arguments that is not OO, that is procedural. In pure OO instead of free functions there are methods. You cannot pass a method, because it is a polymorphic operation with an unknown number of implementations bound lately. You can only pass typed objects and then dispatch on them. If you want to pass a method (basically, a name of) you need some metalanguage on top, e.g. C++ templates or Ada generics.
1
Previous
1
Next
...
All