DEV Community

Discussion on: Imperative vs Declarative programming. Your enemy is not object-oriented programming.

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

Am I wrong to scratch my head a little, imperative as described above is level of abstraction, as languages develop they seem to become more and more abstracted in on to themselves. I can't see the link between this or if I should use base classes or composition or both.

Collapse
 
vaibsgharge profile image
Vaibhav Gharge πŸ‘¨πŸ»β€πŸ’»

Hey Adam,

As I mentioned in the parting thought section, The fact that everything ends up being imperative at some point is the logic and more accurate way of thinking about programs.

So declarative in some manner acts as an abstraction over the imperative paradigm. As we all know loops, conditionals are the fundamentals of OOP languages. I hope that clarifies.