[swift-evolution] [Review] SE-0104: Protocol-oriented integers
David Hart
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?
No.
> * 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
>
> https://github.com/apple/swift-evolution/blob/master/process.md
>
> Thank you,
>
> -Chris Lattner
> Review Manager
>
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160623/f2f1f12e/attachment.html>
More information about the swift-evolution
mailing list