We considered a proposal I wrote early in the year. There was extensive
discussion of the topic at that time. The core team decided to defer the topic
at the time. Everyone was convinced there are better ways to handle it than I
originally proposed (including myself). The topic will be revis
I'm ambivalent here. I know this is convenient, but I have a stronger interest
in controlling my APIs, initializers included. The more the compiler
synthesizes, the less control I have and the more code I have to write to make
up for that. I don't think there's enough here (yet?) to justify s
Hi,
When I am defining a struct I find myself often using a style as shown in the
following example:
struct Foo {
var greeting: String
var x: Int
var y: Int
var z: Int
init(greeting: String, x: Int = 1, y: Int = 2, z: Int = 3) {
self.gree