Skip to content
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
This repository was archived by the owner on Feb 19, 2018. It is now read-only.

CS2 Discussion: Project: Core Features #8

Closed
@rattrayalex

Description

@rattrayalex

EDIT: this is now better-documented in the Features.md file. Leaving the below for posterity.

@DomVinyard proposed these as the "core four" for this effort:

  • Classes
  • Import/Export
  • Fat-Arrow Functions
  • Async/Await

These are things that we "absolutely, definitely need", and will take priority over other changes.

However, this list may be too short. Other possibilities:

  • let/const/var
  • decorators
  • for-in/for-of
  • getters/setters/statics/methods

In particular, Async/Await, being less widely supported and used at this point, may not make sense to take priority over more widely used features like decorators, or more core-to-the-language features like const and for.

Thoughts?

EDIT: I'll keep this bit as an evolving understanding:

Tier 1

(features essential for JavaScript interop):

  • Classes
  • Modules

Tier 1A

(breaking changes that catch CS up with ES6)

  • for-of/for-in
  • let/const/var

Tier 2

(non-essential, popular ES6 Good Parts)

  • async/await
  • decorators
  • getters/setters/statics/methods
  • fat-arrow functions

Tier 3

(non-essential ES6 features and new features)

  • ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions