Why must a modern language have Curly Braces?

As per title of the the thread. Why must Apple subject us to those very distracting and ugly curly braces?


Have we learned nothing from those well organized and beautiful modern languages?


I am serious. I am not trolling. I see the beautiful blocks of code in python and I really just have to question why apple thought it important that in their new modern language to subject us to another several decades of enslavement to curly braces?


1. Is there anyone out there who is as upset as I am?

2. Does anyone have an explanation why apple did this?


I am visibly upset over this. It is like everytime I have to type a '{' or see those ugly blank lines occupied by nothing but a '}', I am upset by it, driven nuts. I am mad at you, apple! I am mad at you, Steve.


Any comments?

Thx!


cheers.

Wonderful things that you can do in Objective-C that you can't do in Swift:


int x;

for (x=0; x<100; x++);

print(x)


which only prints '100' instead of printing out from 0 to 99.


Examples like that are why you're required to put braces around compound blocks, even if the block contains one statement.

beautiful != effective;

beautiful == more bugs

Why must a modern language have Curly Braces?
 
 
Q