Closed ochococo closed 7 years ago
Just a minor detail.
Nice to conform to CustomStringConvertible when implementing textual representation, ex.:
CustomStringConvertible
extension Circle: CustomStringConvertible { var description: String { return "Circle at \(centerString()) with an area of \(computeArea())" } }
Closed. It's a good tip, but should not be considered as a rule.
Just a minor detail.
Nice to conform to
CustomStringConvertible
when implementing textual representation, ex.: