-
Notifications
You must be signed in to change notification settings - Fork 262
The Road to 1.0 #15
Comments
I'd recommend not doing a 1.0.0 until Babel 6 as all of your method decorators are going to break probably. |
@sebmck I quite literally was JUST seeing you mention changes coming in Babel 6 on twitter. Where can I find the spec changes? I don't immediately notice any changes in https://github.com/wycats/javascript-decorators |
@sebmck gracias good sir. |
👍 for remove the aliases. |
I'm not fond of aliases either. Having said that, the given example does highlight that currently in Java, @Deprecated is an official annotation provided by the language. Case sensitivity is also an issue here, but my point is that most annotations in Java use nouns i.s.o verbs... And given the declarative 'feel' of decorators, nouns do seem to make sense. In fact, just for exercise, let me make a list of the decorators from this repo using all nouns:
Thinking about it more, Java mixes nouns and verbs. E.g. I'd say an argument can be made here that it's kinda just a style thing whether to choose nouns or verbs. Some make no sense as verb ( |
I realize I'm probably improperly using the term 'noun'. Sorry about that, English is not my native language. Anyway they are not verbs is what I mean :) |
+1 for |
decorators have now been moved to stage 2. |
@kevinSuttle yup 😄 #84 |
Spec compliancy
Add the remaining tests
decorators
(private/utils)
Decide if aliases will continue?
I generally do not like aliases. I'd prefer to have all decorators named as a verb and remove the aliases.
Slim builds
jsnext:main
postinstall
or similar, aliasing files into the package root so they canimport autobind from 'core-decorators/autobind
.The text was updated successfully, but these errors were encountered: