[swift-evolution] [Review #2] SE-0101: Reconfiguring sizeof and related functions into a unified MemoryLayout struct

Tino Heth 2th at gmx.de
Thu Jul 21 15:20:15 CDT 2016

> Am 15.07.2016 um 23:56 schrieb Dave Abrahams via swift-evolution <swift-evolution at swift.org>:
> We're trying to get away from “magic” properties that exist on every
> type, I think.
I've a serious aversion against regular-looking constructs with special power as well (from time to time, I find myself thinking that ErrorType and SequenceType are somewhat odd… ;-)
On the other hand:
Is a magic struct better than a magic property?
After all, the size of a type is a property of that type…

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160721/597a1ebc/attachment.html>

More information about the swift-evolution mailing list