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

Reply via email to