+1 fwiw Grr, I hate braces so much I can't even... but I've seen this discussed on the Apple dev forums. It's not going to happen. I think the best we (those of us who dislike braces) can ever hope for is that Xcode gives us a way to view our code in the IDE as though braces didn't exists - even if the underlying file uses them, and probably the clipboard so that the outside world can have "one way" of writing Swift. I doubt that will happen either, but it seems far more likely to me than that Swift will suddenly do a 180 on something I'm sure Chris and the rest considered at length already.
On Sat, Dec 19, 2015 at 5:39 PM, Alexander Regueiro via swift-evolution < [email protected]> wrote: > Has anyone considered removing braces from the Swift language? The main > alternative would be indentation-based scoping like in Python or Ruby. > There already seems to be a general emphasis on conciseness, lack of > redundancy, and a modern syntax. e.g. semicolons are not required for > single-line statements; brackets have been removed from if/for/while > expressions, compared to C-style syntax. So, why not go the whole way in > breaking the C-style connection? The present syntax seems to be shunning C, > but only slightly. > > Thoughts? > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution >
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
