Slide 12
Slide 12 text
Lambdas
• OOP => Inheritance, top-down approach
• Functional => composition, bottom-up approach
• Naming is one of the biggest problems in programming
• Lambda = anonymous function
• (param1, param2, ...) => single_statement
• (param1, param2, ...) { //multiple statements }
• var adder = (a, b) => a + b;