Hi Joe, can you share already what this reformation will probably look like?
Will we have to use .Some(x) instead of just writing x? What about if-let syntax, will this change?
-Thorsten
···
Em ter, 19 de jan de 2016 às 02:03, Joe Groff via swift-evolution swift-evolution@swift.org escreveu:
Getting rid of magic is definitely a goal, but I think we want to go in the opposite direction. Implicit Optional promotion creates lots of problems, and ImplicitlyUnwrappedOptional's behavior can be hard to predict. We plan to reform the type system around both kinds of Optional soon.
Sure, but please start a new thread. This work has little to do with property behaviors.
-Chris
···
On Jan 20, 2016, at 7:59 AM, Thorsten Seitz via swift-evolution <swift-evolution@swift.org> wrote:
Em ter, 19 de jan de 2016 às 02:03, Joe Groff via swift-evolution <swift-evolution@swift.org <mailto:swift-evolution@swift.org>> escreveu:
Getting rid of magic is definitely a goal, but I think we want to go in the *opposite* direction. Implicit Optional promotion creates lots of problems, and ImplicitlyUnwrappedOptional's behavior can be hard to predict. We plan to reform the type system around both kinds of Optional soon.
-Joe
Hi Joe, can you share already what this reformation will probably look like?