Declarative vs Imperative Coding Paradigm
Declarative is the what without the logic for the how. eg HTML, JSON Imperative is the logic flow, eg: Java, Python, any oops or functional programming language via: https://medium.com/front-end-weekly/imperative-versus-declarative-code-whats-the-difference-adc7dd6c8380 Imperatively speaking As a web developer you are likely using both paradigms with different code even if you may not be familiar with the terms. Programming languages tend to have multi-paradigm tendencies using both imperative and declarative syntax and I will use JavaScript to demonstrate that as well. Imperative paradigm Procedural and object-oriented programming belong under imperative paradigm that you know from languages like C , C++ , C# , PHP , Java and of course Assembly . Your code focuses on creating statements that change program states by creating algorithms that tell the comp...