Hacker News new | ask | show | jobs
by eru 1180 days 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.

1 comments

In a few years, none of this is going to matter anyway since it is likely we will be able to automatically translate everything cheaply.