by coldtea · 11y ago · 0 comments
Citation needed.
Python is a popular first / teaching language and it has as many (and probably much more in 3.5) features as JS.
And Scheme is supposedly simple, but not that popular with any large amounts of people, beginners included.
There are features that interact in mysterious ways and can be difficult to master (C++ has a lot), and features that are mostly orthogonal (e.g. template strings don't complicate anything related to arrow functions and vice versa).
What I'd like to see, with regards to Javascript, is for "strict mode" to extend to the correction of old, long standing warts (e.g. crazy coercion rules etc). But I guess with this new shared "bytecode" for the web announced, we probably wont have this problem for long.
Obviously yes, I do think it, and I gave an example.
Or rather, I think that number of language features is not related to how easy it is to teach, debug, optimize and understand.
Python has tons of features (maybe even more than ES7 for which he laments) and yet it's an easy to teach and understand language.
And inversely, C is succint and has few features, but it's complex to teach and debug.
One key insight it: a language might be big, but you don't need to use all of its features (or even teach them all).
You can start someone with basic Python, for example, without delving into async or metaclasses and he can still do tons of stuff. Contrast with the "simpler" and much smaller C, in which he needs to understand pointers (a tricky subject) in order to even use the standard library.
A second insight is: a language might be big, but its features could be orthogonal and easy to understand in isolation, not the "features subtly affecting each other" mess C++ is.
Or rather, you can still have "personal opinions" but without arguments backing them are of no use to anybody and you might as well not state them.
> Citation needed
Uh huh.