Trimming long argument lists in Swift — Swift by Sundell

www.swiftbysundell.com

Adding new features to an app or framework often involves adding new arguments to existing functions. While most such changes may seem trivial at first, if we're not careful, we could - over time - end up with functions that are a bit unclear and cumbersome to use. John Sundell takes a look at how to deal with such functions, and how they often can be simplified by reducing the number of arguments they accept.

Read more...
Linkedin

Want to receive more content like this in your inbox?