[swift-evolution] Brace syntax

Rudolf Adamkovic salutis at me.com
Sun Dec 20 08:12:25 CST 2015


+1 for significant whitespace instead of braces. But as others said, ain't gonna happen... :(

Sent from my iPhone

> On 20 Dec 2015, at 02:39, Alexander Regueiro via swift-evolution <swift-evolution at swift.org> 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
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution


More information about the swift-evolution mailing list