3 ms·
Python's syntax is ok. Btw, I wish they would take some inspiration from Haskell's syntax. Haskell also has significant whitespace, but its defined as syntact
by eru 4y ago
Python's syntax is ok.
Btw, I wish they would take some inspiration from Haskell's syntax.
Haskell also has significant whitespace, but its defined as syntactic sugar for a more traditionally syntax with curly braces and semicolons.
Approximately no-one uses that curly-brace syntax, but it's good for two things:
- silences the naysayers
- more importantly: allows you to copy-paste code even into forms that mess up your indentation.
- joquarky 4y agoIn a few years, none of this is going to matter anyway since it is likely we will be able to automatically translate everything cheaply.