[swift-corelibs-dev] [swift-evolution] Proposal: Conforming NSDate to Comparable

Zachary Waldowski zach at waldowski.me
Sun Dec 6 01:29:13 CST 2015


> It is simply not the case that *all* arithmetic on NSDates is incorrect unless it involves NSCalendar and NSDateComponents.
But then the same logic would follow that String must have all sorts of convenient but incorrect API on it, because it is simply not the case that all character transformations are incorrect unless they involve Unicode translation. The standard libraries should not go out of their way to make flawed code look easy.

Zachary Waldowski
zach at waldowski.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20151206/e52b154d/attachment.html>


More information about the swift-corelibs-dev mailing list