[swift-evolution] [Review] SE-0031 Adjusting inout Declarations for Type Decoration

Brent Royal-Gordon brent at architechies.com
Fri Feb 12 19:51:38 CST 2016


> 	https://github.com/apple/swift-evolution/blob/master/proposals/0031-adjusting-inout-declarations.md

> 	* What is your evaluation of the proposal?

I like it. The current positioning made sense when we still had `var` in that slot, but now that we don't, having it decorate the type seems better.

> 	* Is the problem being addressed significant enough to warrant a change to Swift?

It's not a major problem, but fixing it isn't a major problem either.

> 	* Does this proposal fit well with the feel and direction of Swift?

Yes. I can see a few nice directions we can go with this.

> 	* If you have you used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?

For some reason, in my experience inout parameters are usually either built from a different, often very advanced, language feature (like references or pointers), or their syntax is idiosyncratic and unprincipled. It's nice to see Swift attempting to do something rational here.

> 	* How much effort did you put into your review? A glance, a quick reading, or an in-depth study?

A quick reading, nothing special.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list