Author: Ujjawal Singh

Things about to know in Higher-Order Functions

Reading Time: 3 minutes Introduction: Functions are first-class citizens in Scala: we can use them as parameters or return them as the result of some computation. Higher-order functions are functions that accept other functions as parameters, therefore return functions, or both as a value. Their use allows us to create powerful abstractions that reduce duplication and increase the reusability of your code. Functions that accept functions: The reason to use higher-order Continue Reading