[swift-evolution] Brace syntax

Alexander Regueiro alexreg at gmail.com
Sat Dec 19 19:39:06 CST 2015

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.


More information about the swift-evolution mailing list