Imperative vs Declarative

  • Imperative: you need list the rule one by one to accomplish the result, which is a low-level syntax

  • Declarative: you just need to declare which purpose want to accomplish, your purpose will be handled by framework behind the scene

Last updated

Was this helpful?