I searched on SO but did not find any related question.
I was referring to online swift programming language resource and I found following piece of code:
let emptyArray = [String]()
let emptyDictionary = [String: Float]()
My question is why use let keyword and when?
I need an explanation so I can understand the fundamentals correctly.
Edit:
What will happen internally for the above line and when I should use them?