I don’t think that it should behave like that but if I make a mistake somewhere please correct me.
When I declare a tuple like so:
let dateWithTemperature1: (Int, Int, Int, Double) = (day: 17, month: 2, year: 2017, averageTemp: 7.0)
and I try to get access to items of dateWithTemperature1 tuple I can’t refer to them by their names.
When I declare a tuple with types set by type inference:
let dateWithTemperature2 = (day: 17, month: 2, year: 2017, averageTemp: 7.0)
I can easily get access to data by numbers and by names.
What do you think of that guys?