Declarative vs Imperative - Concrete Example

Declarative vs Imperative - Which is Better?

Parallel Computing

  • declarative programming allows for AUTOMATIC parallel computing as they only specify a pattern of results, not the algorithm used to determine the results (e.g. SQL)
  • imperative programming requires the developer to update the algorithm to utilize parallel computing