I do not use nearly enough “High Order” functionality in my code. This article by Raúl Ferrer should help.
High order functions are ones that take other functions as parameters. Map & Filter are good examples.
https://medium.com/better-programming/higher-order-functions-in-swift-13c31a769c0c
No comments:
Post a Comment