Use the following problems to test your functional style programming prowess. I strongly encourage you to give each problem a try before you turn to the solutions and download the example programs:
- Writing functional interfaces: Write a program to define the road from 0 to a functional interface via a set of meaningful examples.
- Lambdas in a nutshell: Explain what a lambda expression is.
- Implementing the Execute Around pattern: Write a program that represents an implementation of the Execute Around pattern based on lambdas.
- Implementing the Factory pattern: Write a program that represents an implementation of the Factory pattern based on lambdas.
- Implementing the Strategy pattern: Write a program that represents an implementation of the Strategy pattern based on lambdas.
- Implementing the Template Method pattern: Write a program that represents an implementation of...