-
Notifications
You must be signed in to change notification settings - Fork 4
[Propose] Coffee Style Smart Computer Language should be the future #49
Comments
Have you checked Haskell? I've not seen a clearer syntax ever. It also has a very nice type system. Scala is also good, if restricted to methods with a single parameter. |
Enh, we can absorb good aspects from other languages to enhance humane readability experience. Maybe someday we can write the computer language like an article. |
This is more than a little off topic from the goals outlined in the README. Nothing against your ideas, but this isn't the place. |
More scalability, more usable. The coffee-script is dead If no more people learned the real meaning of |
Like @GeoffreyBooth suggests, you are not incorrect. When you say "the coffee-script is dead", I do perhaps agree, but it is also clear that this must be changed before we can start applying your ideas across the broader programming world. Help us get coffeescript back into the hearts of devs and you will have a very large receptive audience for your ideas (including many people here). First things first. |
I would write type-script like coffee. But it hardly implement via following the coffee-script framework. The simplest way should be make the indent block instead of What's the first. |
I treat the coffee-script and
Literate CoffeeScript
as the firstcoffee style
smart computer language concept.This should be the basics of the next generation Smart Computer Language.
Features:
extends
,for in
etc rtl functions.Pros:
Cons:
Ambiguity: The Human statement as possible ambiguity. eg,
I saw a man on a hill with a telescope.
Smart man used only(the stupid is difficult to use)
Most languages could be transformed into a similar coffee style.
The previous generation computer language is very mechanical and rigid.
It's strictly limited, even missing a semicolon would raise an error.
Language Reference
Functions
The return and argument type should be optional for the types could be inferred.
The following is the C language transform:
The text was updated successfully, but these errors were encountered: