Using Variadic Parameters in Swift
3 min readSep 3, 2021
When coding in Swift, there is a function that all developers undeniably call generously and without much thinking, and that is print
. We all use it every day, everywhere; and most of the times, it's our path towards fast and dirty debugging.
Even though print
seems to be winning the battle among the most used commands in Swift, have you ever wondered how it makes it possible to accept an arbitrary…