Lazy Evaluation

  • When expressions are not evaluated until their results are actually needed.
  • More efficient use of resources, especially when dealing with potentially infinite data structures.
  • Promotes modularity and composability.

However, this is not supported by all programming languages.


Backlinks