I think you miss my point. In any case, it’s more stylistic consistency than 
fashion. Also, who wants to type braces? Your current philosophy seems to be to 
towards minimising syntax. So surely this is a matter of being consistent?

Also, if indenting code is good (universal) practice, and makes braces 
redundant without loss of readability, why keep them?

> On 20 Dec 2015, at 02:24, Félix Cloutier <[email protected]> wrote:
> 
> Python started in 1990 and Ruby started in 1995. Java started in 1996; C# in 
> 2000; Go in 2010. These languages all use braces and are more recent than 
> Python and Ruby. ALGOL 60, where 60 stands for 1960, didn't use braces either.
> 
> To me, that's basically a fashion point. Given that this doesn't seem to open 
> any new possibility over what we have, I wouldn't be in favor of it.
> 
>> Le 19 déc. 2015 à 20:39:06, Alexander Regueiro via swift-evolution 
>> <[email protected]> a écrit :
>> 
>> 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

Reply via email to