Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 492 Bytes

File metadata and controls

24 lines (15 loc) · 492 Bytes

Lambda Expression


What is a Lambda Expression?

  • Functional programming
  • A simple function expression that can be executed without an identifier
  • Suitable for parallel processing and event-oriented programming

Advantages

  • Code can be made more concise
  • Facilitates parallel programming

Disadvantages

  • If a function that is reused frequently is made into a lambda, the code can become messier
  • Not suitable for use in recursion
  • Difficult to debug