[swift-evolution] [Pitch] Introducing role keywords to reduce hard-to-find bugs

Víctor Pimentel vpimentel at tuenti.com
Wed Jun 14 16:42:14 CDT 2017


On 14 Jun 2017, at 23:22, Goffredo Marocchi via swift-evolution <swift-evolution at swift.org> wrote:

>> Yes, I think we are all in vigorous agreement about this. The question is whether, at this point in Swift's evolution, a wide-ranging migration due to a new required keyword will be well tolerated. If not, then the solution is constrained.
>> 
> 
> I personally vote to accept such a migration at this point, but I am not sure how others feel.

I personally don't want to waste time in migrations if the resulting code is worse, but I think this proposal is very reasonable. It's an improvement and the migration is painless if the fixit applies.

And it's a feature that if you were using it, you definitely know what's going on.

Also, if this proposal were accepted as is, having to opt-in, I would personally not want it.

--
Víctor Pimentel


More information about the swift-evolution mailing list