Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upClasses seems to be too strict #803
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
bakkot
Feb 8, 2017
Contributor
I'm not entirely sure what you're asking for, but per CONTRIBUTING.md you should send feature requests to esdiscuss.
It'll help if you can be a bit more clear about what it is you're asking for, also.
|
I'm not entirely sure what you're asking for, but per CONTRIBUTING.md you should send feature requests to esdiscuss. It'll help if you can be a bit more clear about what it is you're asking for, also. |
bakkot
closed this
Feb 8, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sr229 commentedFeb 7, 2017
•
edited
the ECMAScript 6 Harmony Specification for Classes require at least a Constructor/Super/Static to define a method/function/etc.
Making classes on Javascript always explicitly defining a constructor or such optionally, makes the classes encapsulation more dynamic.
If this is too vague or invalid, you may simply ignore this and close this issue.
Note: This idea is based on CoffeeScript's Classes