Basically Swift excited me most as C++ without the C++, and it's just starting to become plain C++.
-
-
@jckarter You’re saying no change for Apple Swift frameworks because you consider the API, but it’s about protecting others who don’t? - View other replies
-
@mjtsai Many users would prematurely reach for 'final' to get a similar effect and be stuck with it w/o the new default behavior. -
@jckarter I would have thought you could revoke a final across a module boundary because clients can’t inline, anyway. -
@mjtsai 'final' also influences things like dynamic casts and protocol conformance. e.g. Don't need to be covariant if there's no subtyping. -
@jckarter Aha, that makes sense. So then you either force a recompile or can’t optimize.
-
-
-
-
- View other replies
-
-
- View other replies
-
@jckarter I don’t understand why you have to support bugs (rather than the promised contract) forever. Why not warn like with deprecation? -
@mjtsai If subclassing is part of that contract, you have a lot more compatibility surface area to ensure subclassers don't break. -
@jckarter I mean in general—undocumented/unpromised subclassing details and non-subclassing-related bugs. - View other replies
-
@mjtsai That's more important than technically-correct framework bug fixes or refactorings in a lot of cases. - Show more
-
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.
Colin Cornaby
Joe Groff
Dr. Sneed
Michael Tsai
Peter Steinberger
Friedrich Markgraf