Mathias is philosophical:
is there technically any difference between declaring it as a var or as a func()?
To me, func() is clearer, since it in reality doesn't seem to be a var?
Keep asking questions!
I see this the opposite way.
I think of a function as a way to perform a series of manipulations, or transitions. For example you may use a function to remove the letter "T" from a string, or test some data to see if it meets some criteria or contains certain data, resulting in a boolean. Additionally, you may use a function to transform string data into ascii values.
On the otherhand, I think of a variable (var) as a box that holds a value.
// vars hold values
let numberOfPurpleLightSabers = 2
let ultimateAnswer = 42
I think of a computed var as a box that holds a value, but may need a bit of calculation to get there. This is fine with me because I don't need to have another var in my code that has to be updated whenever a related var in my code changes. It's this dependency that makes computed vars so powerful.
If you change a value of one var, it can affect the results in other parts of your application.
// Some game variables
let numberOfHands = 42
var currentHand = 15
var gameOver: bool {
currentHand >= numberOfHands // excellent! keep gameOver in sync with your game state
}
// don't do this!
var gameOver = false
// overlooking this may cause your gameOver var to get out of sync with your game state.
gameOver = checkIfOver(current: currentHand, max: numberOfHands) // not cleaner code, imho.
I think the computed var, in many cases, is much easier to maintain and use.
These are just my thoughts.