by TheLoneWolfling · 11y ago · 0 comments
And their justification fails. Sure, currently if you read x.foo you know that no code is being executed - but you never see x.foo because everything has getters and setters. So all it does in practice is make things (even) more verbose.
// version 1
var author: String
// version 2
var author: String {
get {"\(authorFirst) \(authorLast)"}
}