I study two main programming paradigms, the declarative and imperative paradigm. It’s hard for me to follow the ambiguous statements made in my textbook and Wikipedia, for example:
declarative: - focuses on what the computer should do. - no side effects "- no control flow
imperative: - focuses on how the computer should do this. - how to do it in terms of sequence of actions
how would you differentiate two programming paradigms? If you could expand on the statements made above, this will be very helpful.
source
share