3 ms·
If Python uses indentation rather than curly braces or keywords, then it would not allow for minimization or obfuscation when used in the browser. This is the m
by zeeone 15y ago
If Python uses indentation rather than curly braces or keywords, then it would not allow for minimization or obfuscation when used in the browser. This is the main reason IMO Google chose to design Dart with curly braces.
- tikhonj 15y agoPlaying the devil's advocate, if the browser just had a VM and ran bytecode, the syntax wouldn't matter.
- mixmastamyk 15y agogzip will negate a great deal of that advantage.
- munificent 15y ago> IMO Google chose to design Dart with curly braces. I don't think minification was a concern. Familiarity was: the world's most popular languages are curly-based so adopting that makes the language easier to learn for millions of coders.