What do you guys think about aliasing the type of the current object with the Self keyword?
E.g. instead of writing
class Test {
static var value = 0
func printValue() {
print(Test.value)
}
}
One could write
class Test {
static var value = 0
func printValue() {
print(Self.value)
}
}
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
