Custom Higher order functions : MAP

Generic code enables you to write flexible, reusable functions and types that can work with any type, subject to requirements that you define. You can write code that avoids duplication and expresses its intent in a clear, abstracted manner. (ref: Apple Documentation) Generic functions are more about defining rules rather then a specific implementation. In this […]