23 ms·
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
by Yaggo 4y 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".