2 ms·
All that stuff would be nice to have, but I don't think they're required for it to be a widely useful language. What I think the minimal required set is: - Fix
by randrews 16y ago
All that stuff would be nice to have, but I don't think they're required for it to be a widely useful language. What I think the minimal required set is:
- Fix "this". Even people who know what they're doing screw it up.
- Make keywords not reserved unless the language actually uses them. I mean seriously.
- Namespaces / packages / something.
- A package manager, like CPAN / Rubygems / whatever.
- A good IDE (even a half-assed attempt at code completion) and a debugger. I happen to really like Dashcode, I think it would be good if it were more generic.
Everything else on your list is great, but I think it can wait until later, or it's really just a feature of the language (not all languages have Smalltalk-style OO and That's Okay). Iterators and generators it actually has; operator overloading is widely reviled so I don't think that'll be a barrier to adoption.
- mjuhl24 16y agoOn keywords: "ES4 allows the use of keywords in contexts where they were prohibited in ES3, e.g., as field names in objects: {function:37}, o.try, and ns::catch are all legal." (http://www.ecmascript.org/es4/spec/overview.pdf http://www.ecmascript.org/es4/spec/overview.pdf, p35)