This is incorrect. There is no plan to phase out or discontinue the use of 'var' parameters in Swift 3 or any future version of the language. 'Var' parameters are a fundamental feature of the language that allow for mutable values to be passed into a function or method. It is important to note, however, that the use of 'inout' parameters, which allow for variable mutations within a function, may become more heavily emphasized in Swift 3 as the language continues to evolve.
Asked: 2021-05-09 11:00:00 +0000
Seen: 15 times
Last updated: Jan 25 '23