[swift-evolution] [Review] SE-0104: Protocol-oriented integers
david at hartbit.com
Thu Jun 23 12:56:54 CDT 2016
> * What is your evaluation of the proposal?
+1 The protocols are well thought out and make total sense to me. I only have a miner gripe with the naming of:
func nthWord(n: Int) -> UInt
Which reads very weird. Why not:
func word(at: Int) -> UInt
> * Is the problem being addressed significant enough to warrant a change to Swift?
Yes, generic algorithms using integers were difficult to write. This is definitely needed for Swift 3.
> * Does this proposal fit well with the feel and direction of Swift?
It follows the logic behind the floating-point protocols.
> * If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
> * How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
A good read.
> More information about the Swift evolution process is available at
> Thank you,
> -Chris Lattner
> Review Manager
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution