You can tell Swift is fundamentally static because otherwise there couldn’t even be talk about the compiler optimizing the dynamic parts.
-
-
@mjtsai You can link to public classes and protocols and get the dynamism you expect. -
@jckarter I don't think I could do something like this with a hypothetical Swift AppKit. Dispatch, but no msg send. http://furbo.org/2014/04/18/get-ready-for-june-2nd/ … -
@mjtsai You can't do that today, either. Any change to NSFont's impl could break hacks like this. -
@jckarter It’s not future proof, but it works great for debugging or temporarily working around a framework bug. -
@mjtsai Sure, but then those workarounds end up in production builds, and Foundation grows more scar tissue to work around the workaround. - View other replies
-
@jckarter That’s why I said temporary. Long-term, in theory the bug will be fixed, but in the meantime things are broken.
-
-
@mjtsai If you're interfacing with code at the source level, the compiler will accommodate any new code you add.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Michael Tsai
Joe Groff