2 ms·
What you're looking for is Scheme, or perhaps Javascript as it existed in 1995. The problem with the MVL approach is that ultimately people pay us to solve the
by nostrademons 11y ago
What you're looking for is Scheme, or perhaps Javascript as it existed in 1995.
The problem with the MVL approach is that ultimately people pay us to solve their problems, and don't care how complicated it makes our lives. That complexity has to go somewhere, and usually the best place for it is in the code, else you're just doing your customer's problem manually. Eventually people realize that they're writing the same code over and over again, and that they could save a lot of time as programmers if those features were just built into the language.
I'd really encourage you to study Scheme and write a few programs in it. It's famous for being the language where you can implement all the other language features in it. So for example, it's pretty common to implement your own object system in it; your programs won't be compatible with libraries that use any other object systems (which is a major reason why it's not used industrially), but you can play around with classical inheritance, prototypes, access control, multimethods, virtual dispatch, and so on all within the language. Similarly, promises, async, green threads, collections, list comprehensions, type systems, and many other language features can all be done as libraries, using the basic features of closures, continuations, macros, cons cells, and arrays. Even things like if-statements, exceptions, and loops don't need special language features, although they're standardized across implementations.
- ahazred8ta 11y ago[Every language should come with a "minimum" instruction set. A curated subset] OP is referring to 'get started' documentation, not to the language itself being minimal-size.