> El 14 jun 2017, a las 20:01, David Hart via swift-evolution > <swift-evolution@swift.org> escribió: > > I think this proposal is a great idea. But I would vote for the alternative > of only having default and implicitly deducing extend when default is not > specified: it would mimic how override works with only one keyword, it would > not introduce a completely new keyword, and it would provide progressive > disclosure (your usually start implementing types before going deeper in > default implementations). Yes, it would generate warnings at all current > default implementations, but it wouldn’t break source compatibility and would > provide a lot of value for developers.
+1 to adding only the "default" keyword. This would be great and very easily to fix in migrations, definitely dissipating the gray area where protocol extensions now live. -- Víctor Pimentel _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution