Login
Roast topics
Find topics
Find it!
From:
Swift by Sundell
(Uncensored)
subscribe
Deciding between ‘let’ and ‘var’ for Swift struct properties
https://www.swiftbysundell.com/articles/let-vs-var-for-swift-struct-properties
links
backlinks
Roast topics
Find topics
Roast it!
Does marking a given Swift struct property as either ‘let’ or ‘var’ simply determine its mutability, or is there more to it? Let’s explore!