Is Kotlin truly functional
1 min read
A truly functional programming language like Javascript allows us to assign the function as a variable. Take an example of this:
12 posts · page 2 of 2
A truly functional programming language like Javascript allows us to assign the function as a variable. Take an example of this:
Most functional programming has a great support for working with collections and so is Kotlin. If you are coding with Kotlin for sometimes, you might notice about map(), filter(), any() and forEach().
To some people, lambda may seem like syntax sugar, but it is more than that. If you have to repeat some codes with minor modification, you can leverage on the power of lambda.
The unavoidable price of reliability is simplicity – C.A.R Hoare