-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go over Rational section #27
Comments
That, "thing" is a place holder for a better word that encompasses "variable", "function", "method", "object value", "array value". Yes, "reference" may be better: "type hint after the reference it modifies" or maybe: "type hint after that which it modifies". I can agree to that. Perhaps they should be footnotes, and we use generic language to refer to them. |
I mentioned ActionScript because (if my memory serves) it's the first javascript derivative that added types to the language. Hoever, I also think the ECMAScript 4 reference should stay, even if flow and typescript become footnotes. |
Quoting myself from #4, I think we can add a prose version of the following to the rationale section:
|
Or, we add an FAQ section/file with the above. I also think your thoughts section in #4 (comment) could be used in an FAQ/Rationale, particularly the |
I would rank each importance wise:
I think the top two should be mentioned once. We should probably just link the last two. Should also link the notes linked in #17. Although there are other stuff in that document not related to typing. Would be nice if we could show only the relevant notes. Perhaps another doc w/ a link back to the original? Last 2 comments above, sounds good. |
Sounds good. Something like: "there is typing in flow, typescript, and in an abandoned spec[0] which all were inspired by a predecessor[1]" As for notes, we could probably quote the section we need, and cite the source. |
I think there are some things we can do to make that section a bit easier to read. I also think we can word "type hint after the thing it modifies" a little better, although I'm not sure exactly how to word that yet. Perhaps the thing is reference? Or something.
Also should probably tone down the mention of TypeScript as much as possible. I think flow is closer to what we're trying to do, so citing that more is probably better. I tried doing that in the Motivation section - mentioned TypeScript as an alternative language to using JavaScript because it doesn't have typing. At least that's what I was going for. I probably could have made that a little nicer.
I'm also not sure if ActionScript is all that relevant, besides a footnote.
The text was updated successfully, but these errors were encountered: