top | item 34967214

(no title)

Yaggo | 3 years ago

I liked CoffeeScript back in the days. However, it had its problems, the biggest being too terse / too much optional syntax.

I think Civet would success better if it addressed those issues by making the syntax a bit more familiar and consistent.

Keep the python/ruby-like significant indentation and everything-is-expression approach, but add little more verbosity for clarity, for example:

  - require and reserve {} for objects
  - require () in function calls
  - require explicit var/let/const
Also, because CoffeeScript got so controversial reputation, I would not ride on its legacy. Just market Civet as "TypeScript with modern syntax".

discuss

order

No comments yet.