Skip to content

CS2 Discussion: Features: decorators #4917

@coffeescriptbot

Description

@coffeescriptbot

From @rattrayalex on July 23, 2016 2:51

Decorators are an increasingly popular feature of ES6, particularly with React development.

However, they use @atSyntax, which clashes with coffeescript's this. shorthand.

We could:

  1. Come up with an alternative syntax for decorators
  2. Come up with a new syntax for this. shorthand
  3. Keep both as they are and just work hard to parse them
  4. Get rid of this. shorthand
  5. Don't add decorators
  6. Any other ideas?

Thoughts?

Copied from original issue: coffeescript6/discuss#9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions