2 ms·
Easy: because there are people who mistake being used to something for it being good. Also because people know too few different styles of syntaxes and are not
by klibertp 12y ago
Easy: because there are people who mistake being used to something for it being good. Also because people know too few different styles of syntaxes and are not required to learn more of them (let's do everything in X! from microcontrollers to OSes!), which makes them inflexible.
Syntax matters, but not in the way most people think it does. Syntax should be judged based on how well it supports semantics of a given language and not based on how "pretty" it is. EDIT: I should probably add that Python syntax matches its semantics and intended usage rather well; for an example of a conflict between syntax and semantics look at JavaScript.
- crististm 12y agoPython syntax helps the semantics pretty well I think. Why do you need braces when the program's tree structure is obvious from indentation?
- klibertp 12y ago> Python syntax helps the semantics pretty well I think. Yes, I think so too. > Why do you need braces You don't. You need some kind of delimiters and newline+indent works just as well as any other kind of delimiter, like braces, parens, begin+end and so on and on.